About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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">
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]
UID
ibm11084683