Title: Installing bitcore and have an issue [Ubuntu] Post by: mason13 on June 13, 2018, 11:53:30 PM Hi,
Trying to install bitcore with npm but getting this error: Code: npm install -g bitcore What should I do? Thanks a lot! Title: Re: Installing bitcore and have an issue [Ubuntu] Post by: hugeblack on June 14, 2018, 02:50:55 AM Try to execute/run the code "npm install -g bitcore" by adding sudo"root privileges" because it will solve most of the permissions problems.
You can check this link for more information ------> https://docs.npmjs.com/misc/scripts#user Quote from: https://docs.npmjs.com/misc/scripts#user If npm was invoked with root privileges, then it will change the uid to the user account or uid specified by the user config, which defaults to nobody. Set the unsafe-perm flag to run scripts with root privileges. If this doesn't work with you, try this "npm install -g --unsafe-perm=true bitcore" source ----> https://github.com/bitpay/bitcore/issues/1458 (https://github.com/bitpay/bitcore/issues/1458) |