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! C:\chat\npm-debug.log
I’ve seen this once or twice. Essentially, ./scripts/download is failing, probably because it’s timing out or one of the packages it’s trying to install is not compatible with your system.
That, or you have some weird proxys/are not connected to internet.
bitcore-node@3.1.3 preinstall C:\Users\myuser\AppData\Roaming\nvm\v4.2.0\node_modules\bitcore\node_modules\bitcore-nod
e
./scripts/download
‘.’ is not recognized as an internal or external command, operable program or batch file.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv “C:\Users\myuser\AppData\Roaming\nvm\v4.2.0\node.exe” “C:\Users\myuser\AppData\Roaming\nv
m\v4.2.0\node_modules\npm\bin\npm-cli.js” “install” “-g” "bitcore"
npm ERR! node v4.2.0
npm ERR! npm v2.14.7
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 their info via:
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! C:\Users\myuser\AppData\Roaming\nvm\v4.2.0\npm-debug.log
Ok, so since there is no support here this is a way around it.
High level: You want to run a linux machine as a virtual machine on your windows machine
Simplified steps:
Install Oracle’s VM VirtualBox
Add a Linux virtual machine (I chose Ubuntu). Use a “fixed disk” option (10GB)
Download the latest ubuntu desktop iso file from ubuntu site
Under your VM point your storage to that iso file
Start the VM box
When prompted, install Ubuntu from the iso file in your downloads folder
Restart terminal.
You can then follow installation instructions for bitcore on this website