ccxt: New version ccxt install with errors (Windows 7 SP1)

  • OS: windows 7 sp1 node v8.11.4 npm v5.6.0 python 2.7.15 and 3.7.0
  • CCXT version: 1.17.350

I try to update old ccxt library. I had a problem with node-gyp so i do Option 1 from site

https://github.com/nodejs/node-gyp#on-windows npm install --global --production windows-build-tools and install node-gyp

After that I try to install ccxt and i get the error:

G:\Windows\system32>npm install -g ccxt npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Suppor t npm WARN deprecated tar.gz@1.0.7: ?? WARNING ?? tar.gz module has been deprecat ed and your application is vulnerable. Please use tar module instead: https://np mjs.com/tar

scrypt@6.0.3 preinstall G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\no de_modules\scrypt node node-scrypt-preinstall.js

keccak@1.4.0 install G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_ modules\keccak npm run rebuild || echo “Keccak bindings compilation fail. Pure JS implementat ion will be used.”

keccak@1.4.0 rebuild G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_ modules\keccak node-gyp rebuild

G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_modules\keccak>if not d efined npm_config_node_gyp (node “G:\Program Files\nodejs\node_modules\npm\node_ modules\npm-lifecycle\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “G:\Program Files\nodejs\node_modules\npm\node_modules\no de-gyp\bin\node-gyp.js” rebuild ) Projekty w tym rozwiązaniu są tworzone po kolei. Aby umożliwić tworzenie równole głe, dodaj przełącznik “/m”. G:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\V CTargets\Microsoft.CppCommon.targets(423,5): error MSB6006: Polecenie “CL.exe” zakończone przez kod -1073741515. [G:\Users\goku\AppData\Roaming\npm\node_modul es\ccxt\node_modules\keccak\build\keccak.vcxproj] gyp ERR! build error gyp ERR! stack Error: G:\Program Files (x86)\Microsoft Visual Studio\2017\Build Tools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (G:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:258:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:198:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command “G:\Program Files\nodejs\node.exe” “G:\Program Files\nodej s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild” gyp ERR! cwd G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_modules\ke ccak gyp ERR! node -v v8.11.4 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in: npm ERR! G:\Users\goku\AppData\Roaming\npm-cache_logs\2018-09-25T12_57_50_1 31Z-debug.log “Keccak bindings compilation fail. Pure JS implementation will be used.”

scrypt@6.0.3 install G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_ modules\scrypt node-gyp rebuild

G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_modules\scrypt>if not d efined npm_config_node_gyp (node “G:\Program Files\nodejs\node_modules\npm\node_ modules\npm-lifecycle\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “G:\Program Files\nodejs\node_modules\npm\node_modules\no de-gyp\bin\node-gyp.js” rebuild ) Warning: Missing input files: G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_modules\scrypt\build.. \scrypt\win\include\config.h Projekty w tym rozwiązaniu są tworzone po kolei. Aby umożliwić tworzenie równole głe, dodaj przełącznik “/m”. Copying scrypt/win/include/config.h to scrypt/scrypt-1.2.0/config.h Nie można odnaleźć określonego pliku. G:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\V CTargets\Microsoft.CppCommon.targets(423,5): error MSB6006: Polecenie “CL.exe” zakończone przez kod -1073741515. [G:\Users\goku\AppData\Roaming\npm\node_modul es\ccxt\node_modules\scrypt\build\copied_files.vcxproj] G:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\V CTargets\Microsoft.CppCommon.targets(423,5): error MSB6006: Polecenie “CL.exe” zakończone przez kod -1073741515. [G:\Users\goku\AppData\Roaming\npm\node_modul es\ccxt\node_modules\scrypt\build\scrypt_wrapper.vcxproj] gyp ERR! build error gyp ERR! stack Error: G:\Program Files (x86)\Microsoft Visual Studio\2017\Build Tools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (G:\Program Files\nodejs\node_modules
npm\node_modules\node-gyp\lib\build.js:258:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:198:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command “G:\Program Files\nodejs\node.exe” “G:\Program Files\nodej s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild” gyp ERR! cwd G:\Users\goku\AppData\Roaming\npm\node_modules\ccxt\node_modules\sc rypt gyp ERR! node -v v8.11.4 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! scrypt@6.0.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the scrypt@6.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.

npm ERR! A complete log of this run can be found in: npm ERR! G:\Users\goku\AppData\Roaming\npm-cache_logs\2018-09-25T12_57_55_6 78Z-debug.log

If i write in cmd:

G:\Windows\system32>node -v v8.11.4

G:\Windows\system32>node-gyp -v

G:\Windows\system32>if not defined npm_config_node_gyp (node “G:\Program Files\n odejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…..\node_modul es\node-gyp\bin\node-gyp.js” -v ) else (node “” -v ) module.js:549 throw err; ^

Error: Cannot find module ‘G:\Program Files\nodejs\node_modules\npm\node_modules \node_modules\node-gyp\bin\node-gyp.js’ at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3

I have installed: .Net 2.0 SDK, .Net 4.7.2, Visual C++ 2005, 2008, 2013, 2017 redistributable, Visual studio Build Tools 2017

What can i do with this problem, old ccxt works fine.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Ok I finnaly resole this issue. .NET framework 4.5.1 is too old and .NET framework 4.7.2 is “too new”… When I uninstall .net 4.7.2 and install .net 4.6.0 and going to a separate folder to install in empty folder ccxt, its end successfull on visual studio community 2017. Now I have the same problem with scrypt but scrypt need windows sdk 7.1 and visualStudio 2010 so… Get some melisa, nervosol, nervomix or relanium and go to work…