Closed angristan closed 4 years ago
@angristan here are the files/dir NPM is trying to create :
root@b2d:/var/www# tree .npm/ -L 1
.npm/
├── anonymous-cli-metrics.json
├── _cacache
└── _locks
I had to create .npm dir to let the plugin work.
If I may, you'll need chrome/chromium headless as a dep as well.
Turns out I didn't have any /var/www
folder 🤔 Simply creating it and giving www-data
permissions on it fixed it.
And yes, afterwards I needed some dependencies but the error is self-explanatory. 😄
Thanks @dadall o/
Here is the error I get:
However, my matomo is in
/srv/matomo
. Not sure what NPM is trying to do here.Let me know if I can provide more info!