Bitcoin Forum
March 29, 2024, 12:12:13 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Installing bitcore and have an issue [Ubuntu]  (Read 94 times)
mason13 (OP)
Jr. Member
*
Offline Offline

Activity: 159
Merit: 5


View Profile
June 13, 2018, 11:53:30 PM
 #1

Hi,

Trying to install bitcore with npm but getting this error:

Code:
npm install -g bitcore
|
> bitcore-node@3.1.3 preinstall /root/.nvm/versions/node/v4.9.1/lib/node_modules/bitcore/node_modules/bitcore-node
> ./scripts/download

./scripts/download: line 30: cd: /root/.nvm/versions/node/v4.9.1/lib/node_modules/bitcore/node_modules/bitcore-node/scripts/../bin: Permissiondenied
npm ERR! Linux 3.13.0-149-generic
npm ERR! argv "/root/.nvm/versions/node/v4.9.1/bin/node" "/root/.nvm/versions/node/v4.9.1/bin/npm" "install" "-g" "bitcore"
npm ERR! node v4.9.1
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE

npm ERR! bitcore-node@3.1.3 preinstall: `./scripts/download`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bitcore-node@3.1.3 preinstall script './scripts/download'.
npm ERR! This is most likely a problem with the bitcore-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./scripts/download
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bitcore-node
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls bitcore-node
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /npm-debug.log

What should I do?

Thanks a lot!
1711714333
Hero Member
*
Offline Offline

Posts: 1711714333

View Profile Personal Message (Offline)

Ignore
1711714333
Reply with quote  #2

1711714333
Report to moderator
1711714333
Hero Member
*
Offline Offline

Posts: 1711714333

View Profile Personal Message (Offline)

Ignore
1711714333
Reply with quote  #2

1711714333
Report to moderator
1711714333
Hero Member
*
Offline Offline

Posts: 1711714333

View Profile Personal Message (Offline)

Ignore
1711714333
Reply with quote  #2

1711714333
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
hugeblack
Legendary
*
Offline Offline

Activity: 2464
Merit: 3551


Buy/Sell crypto at BestChange


View Profile WWW
June 14, 2018, 02:50:55 AM
 #2

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
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

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!