statsd-instrumental-backend
statsd-instrumental-backend copied to clipboard
npm issue
When trying to install the backend with npm
, I'm seeing this error:
[execute]
> [email protected] install /usr/share/statsd/node_modules/modern-syslog
> node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/share/statsd/node_modules/modern-syslog/build'
gyp ERR! System Linux 4.15.0-29-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/share/statsd/node_modules/modern-syslog
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/modern-syslog):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ [email protected]
updated 1 package and audited 865 packages in 2.426s
found 46 vulnerabilities (21 low, 23 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
Any ideas?