Technical Blog Post
Abstract
Troubleshooting: Node JS V8 data collector installation errors
Body
Symptom: When you try to install the Node JS V8 data collector and you run the npm install nodejs_dc/ibmapm.tgz command, you encounter the following error, for example:
Error: EACCES: permission denied, open '/root/Node/node_modules/appmetrics/install.log'
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.11.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/Node/node_modules/appmetrics/.node-gyp"
This error occurs because appmetrics prevents you from installing appmetrics as as a root user.
Solution: This is a known issue with appmetrics. To install packages as a root user, run the npm -g config set user root command before you run the npm install command.
Subscribe and follow us for all the latest information direc tly on your social feeds:
|
|
Check out all our other posts and updates: | |
Academy Blogs: | https://goo.gl/U7cYYY |
Academy Videos: | https://goo.gl/T LfMoF |
Academy Google+: | https://goo.gl/HnTs0w |
Academy Twitter : | https://goo.gl/AhR8CL |
< a href="https://www.ibm.com/developerworks/community/blogs/0587adbc - 8477 - 431f - 8c68 - 9226adea11ed?lang=en" style="width: 1159.61px; display: inline - block;" target="_blank">
UID
ibm11084683