I have an issue when I try to install the latest build on windows using the latest version of node.js v5.6.0
it failed t the [email protected] install script 'npm run rebuild'
please find attached the log
I use the following version of node.js and rpm
node v5.6.0
npm v3.7.3
I am very new here so my error might be quite simple to resolve
thanks
same here :-/
I think it is related to node trying to compile native code, but something not being present like c compiler or headers. example of the same/similar on os x : https://github.com/cryptocoinjs/secp256k1-node/issues/48
@davidg2202 You're running Windows. Unfortunately that's a platform I've never tried to install on.
This does look like a problem compiling secp256k1. I'll talk to the maintainer (@wanderer) and see if he has any ideas.
More information here. Looks like there's steady progress. If there's none soon (i.e., next week) I'll likely pick it up myself. https://github.com/cryptocoinjs/secp256k1-node/issues/20
I had a similar issue with secp256k1, judge if its related.
Windows 10 64bit
npm 3.8.0
node 5.7.1
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:nodejsnode.exe" "C:UsersCypherAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gypbinnode-gyp.js" "rebuild"
gyp ERR! cwd C:UsersCypherAppDataRoamingnpmnode_modulesethereumjs-testrpcnode_moduleseth-lightwalletnode_modulessecp256k1
gyp ERR! node -v v5.7.1
gyp ERR! node-gyp -v v3.3.0
npm ERR! Failed at the [email protected] rebuild script 'node-gyp rebuild'.
I worked on it for a couple of hours. I initially built secp256k1 separately however I found the latest version installed just fine. I then went about installing the individual packages separately from the testrpc package.json list and updating those that failed on a local install which were:
"ethereumjs-util": "^4.0.0"
"web3-provider-engine": "^6.1.0"
After updating those, it appears to be working. I hope that helps shed a little more light on the issue for someone else.
Unrelated, @FlashDave. But that will be fixed in a day or two. :)
On Mar 7, 2016 3:18 PM, "FlashDave" [email protected] wrote:
I had a similar issue with secp256k1, judge if its related.
Windows 10 64bit
npm 3.8.0
node 5.7.1gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:nodejsnode.exe"
"C:UsersCypherAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gypbinnode-gyp.js"
"rebuild"
gyp ERR! cwd
C:UsersCypherAppDataRoamingnpmnode_modulesethereumjs-testrpcnode_moduleseth-lightwalletnode_modulessecp256k1
gyp ERR! node -v v5.7.1
gyp ERR! node-gyp -v v3.3.0
npm ERR! Failed at the [email protected] rebuild script 'node-gyp rebuild'.I worked on it for a couple of hours. I initially built secp256k1
separately however I found the latest version installed just fine. I then
went about installing the individual packages separately from the testrpc
package.json list and updating those that failed on a local install which
were:"ethereumjs-util": "^4.0.0" "web3-provider-engine": "^6.1.0"After updating those, it appears to be working. I hope that helps shed a
little more light on the issue for someone else.—
Reply to this email directly or view it on GitHub
https://github.com/ethereumjs/testrpc/issues/15#issuecomment-193500291.
@FlashDave Whoops, looks like yours was related - I was responding via email. That said, I just bumped testrpc to v1.1.0 which can now be cleanly installed on Windows. Please see the Windows install guide before running npm install as there are a few dependencies that need to be manually installed first.
Closing this ticket, as we now support windows! :tada:
@davidg2202 @step21 @FlashDave Could you guys give 1.1.0 a test after following the Windows install guide? Would love to know if there are other dependencies required that I already have installed but others do now. Cheers!
Hi,
I am having problems with installing ethereumjs-testrpc in Windows Server 2012 R2/Visual Studio2015 Community Edition/Python2.7.11/OpenSSL. Here is the error I get everytime I run npm:
[email protected] install D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1
npm run rebuild
[email protected] rebuild D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1
node-gyp rebuild
D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1>if not defined npm_config_node_gyp (node "C:Users119078AppDataRoamingnpmnode_modulesnpmbinnode-gyp-bin....node_modulesnode-gypbinnode-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1buildsecp256k1.vcxproj]
Thanks.
I too am having this problem
Most helpful comment
Hi,
I am having problems with installing ethereumjs-testrpc in Windows Server 2012 R2/Visual Studio2015 Community Edition/Python2.7.11/OpenSSL. Here is the error I get everytime I run npm:
[email protected] install D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1
D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1>if not defined npm_config_node_gyp (node "C:Users119078AppDataRoamingnpmnode_modulesnpmbinnode-gyp-bin....node_modulesnode-gypbinnode-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:stageethereumjs-testrpctestrpc-masternode_modulessecp256k1buildsecp256k1.vcxproj]
Thanks.