Guest User

Untitled

a guest
Jan 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. git init
  2. git clone <project>
  3. cd <project directory>
  4. delete package-lock.json
  5. npm install
  6. npm install --global --production windows-build-tools
  7. npm install bcrypt
  8.  
  9. node-pre-gyp WARN Using request for node-pre-gyp https download
  10. node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.3/bcrypt_lib-v3.0.3-node-v64-win32-x64-unknown.tar.gz
  11. node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.3 and node@10.15.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
  12. internal/modules/cjs/loader.js:583
  13. throw err;
  14. ^
  15.  
  16. Error: Cannot find module 'nan'
  17. at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
  18. at Function.Module._load (internal/modules/cjs/loader.js:507:25)
  19. at Module.require (internal/modules/cjs/loader.js:637:17)
  20. at require (internal/modules/cjs/helpers.js:22:18)
  21. at [eval]:1:1
  22. at Script.runInThisContext (vm.js:96:20)
  23. at Object.runInThisContext (vm.js:303:38)
  24. at Object.<anonymous> ([eval]-wrapper:6:22)
  25. at Module._compile (internal/modules/cjs/loader.js:689:30)
  26. at evalScript (internal/bootstrap/node.js:587:27)
  27. gyp: Call to 'node -e "require('nan')"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
  28. gyp ERR! configure error
  29. gyp ERR! stack Error: `gyp` failed with exit code: 1
  30. gyp ERR! stack at ChildProcess.onCpExit (C:Program Filesnodejsnode_modulesnpmnode_modulesnode-gyplibconfigure.js:345:16)
  31. gyp ERR! stack at ChildProcess.emit (events.js:182:13)
  32. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
  33. gyp ERR! System Windows_NT 10.0.17134
  34. gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\project\node_modules\bcrypt\lib\binding\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\project\node_modules\bcrypt\lib\binding" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" "--python=C:\Users\xxxxx\.windows-build-tools\python27\python.exe"
Add Comment
Please, Sign In to add comment