I just followed the instructions and run: npm install web3
I have replaced the project name with ...
Any help is appreciated
gyp ERR! configure error
gyp ERR! stack Error: Python executable "C:UserslismoreAppDataLocalProgramsPythonPython36-32python.EXE" is v3.6.2, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack at failPythonVersion (C:Program Filesnodejsnode_modulesnpmnode_modulesnode-gyplibconfigure.js:454:14)
gyp ERR! stack at C:Program Filesnodejsnode_modulesnpmnode_modulesnode-gyplibconfigure.js:443:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:189:7)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
gyp ERR! stack at Socket.
gyp ERR! stack at emitOne (events.js:96:13)
gyp ERR! stack at Socket.emit (events.js:188:7)
gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:497:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:GitHub...microservices...node_modulesscrypt
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:GitHub...microservices...package.json'
npm WARN ... No description
npm WARN ... No repository field.
npm WARN ... No README data
npm WARN .. No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "web3"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the scrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs scrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls scrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:GitHub...microservices...npm-debug.log
npm ERR! code 1
Try it
npm install --global --production windows-build-tools
Thanks to @konstantinx for the answer!
You need to run the following in Powershell as Administrator
npm install --global --production windows-build-tools
Most helpful comment
Try it