christroutner

OB Desktop NPM Error

Dec 8th, 2017
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.85 KB | None | 0 0
  1. D:\dev\github> git clone https://github.com/OpenBazaar/openbazaar-desktop
  2. Cloning into 'openbazaar-desktop'...
  3. remote: Counting objects: 36101, done.
  4. remote: Compressing objects: 100% (228/228), done.
  5. remote: Total 36101 (delta 254), reused 252 (delta 164), pack-reused 35709
  6. Receiving objects: 100% (36101/36101), 13.12 MiB | 4.59 MiB/s, done.
  7. Resolving deltas: 100% (25633/25633), done.
  8. Checking connectivity... done.
  9. Checking out files: 100% (3235/3235), done.
  10. D:\dev\github> cd .\openbazaar-desktop
  11. D:\dev\github\openbazaar-desktop [master ≡]> git checkout crypto-currencies
  12. Branch crypto-currencies set up to track remote branch crypto-currencies from origin.
  13. Switched to a new branch 'crypto-currencies'
  14. D:\dev\github\openbazaar-desktop [crypto-currencies ≡]> git pull
  15. Already up-to-date.
  16. D:\dev\github\openbazaar-desktop [crypto-currencies ≡]> npm install
  17. npm WARN deprecated babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
  18. npm WARN deprecated coffee-script@1.10.0: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
  19. npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
  20. npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
  21. npm WARN deprecated lodash.isarray@4.0.0: This package is deprecated. Use Array.isArray.
  22. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
  23. npm WARN deprecated express@2.5.11: express 2.x series is deprecated
  24. npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated
  25.  
  26. > node-sass@3.13.1 install D:\dev\github\openbazaar-desktop\node_modules\node-sass
  27. > node scripts/install.js
  28.  
  29. Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
  30. Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":
  31.  
  32. HTTP error 404 Not Found
  33.  
  34. Hint: If github.com is not accessible in your location
  35.       try setting a proxy via HTTP_PROXY, e.g.
  36.  
  37.       export HTTP_PROXY=http://example.com:1234
  38.  
  39. or configure npm proxy via
  40.  
  41.       npm config set proxy http://example.com:8080
  42.  
  43. > electron@1.7.9 postinstall D:\dev\github\openbazaar-desktop\node_modules\electron
  44. > node install.js
  45.  
  46.  
  47. > node-sass@3.13.1 postinstall D:\dev\github\openbazaar-desktop\node_modules\node-sass
  48. > node scripts/build.js
  49.  
  50. Building: D:\Program Files\node\node.exe D:\dev\github\openbazaar-desktop\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  51. gyp info it worked if it ends with ok
  52. gyp verb cli [ 'D:\\Program Files\\node\\node.exe',
  53. gyp verb cli   'D:\\dev\\github\\openbazaar-desktop\\node_modules\\node-gyp\\bin\\node-gyp.js',
  54. gyp verb cli   'rebuild',
  55. gyp verb cli   '--verbose',
  56. gyp verb cli   '--libsass_ext=',
  57. gyp verb cli   '--libsass_cflags=',
  58. gyp verb cli   '--libsass_ldflags=',
  59. gyp verb cli   '--libsass_library=' ]
  60. gyp info using node-gyp@3.6.2
  61. gyp info using node@8.9.1 | win32 | x64
  62. gyp verb command rebuild []
  63. gyp verb command clean []
  64. gyp verb clean removing "build" directory
  65. gyp verb command configure []
  66. gyp verb check python checking for Python executable "python2" in the PATH
  67. gyp verb `which` failed Error: not found: python2
  68. gyp verb `which` failed     at getNotFoundError (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:13:12)
  69. gyp verb `which` failed     at F (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:68:19)
  70. gyp verb `which` failed     at E (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:80:29)
  71. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\which\which.js:89:16
  72. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\index.js:42:5
  73. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\windows.js:36:5
  74. gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
  75. gyp verb `which` failed  python2 { Error: not found: python2
  76. gyp verb `which` failed     at getNotFoundError (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:13:12)
  77. gyp verb `which` failed     at F (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:68:19)
  78. gyp verb `which` failed     at E (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:80:29)
  79. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\which\which.js:89:16
  80. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\index.js:42:5
  81. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\windows.js:36:5
  82. gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
  83. gyp verb `which` failed   stack: 'Error: not found: python2\n    at getNotFoundError (D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:13:12)\n    at F (D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:68:19)\n    at E (D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:80:29)\n    at D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:89:16\n    at D:\\dev\\github\\openbazaar-desktop\\node_modules\\isexe\\index.js:42:5\n    at D:\\dev\\github\\openbazaar-desktop\\node_modules\\isexe\\windows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:152:21)',
  84. gyp verb `which` failed   code: 'ENOENT' }
  85. gyp verb check python checking for Python executable "python" in the PATH
  86. gyp verb `which` failed Error: not found: python
  87. gyp verb `which` failed     at getNotFoundError (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:13:12)
  88. gyp verb `which` failed     at F (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:68:19)
  89. gyp verb `which` failed     at E (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:80:29)
  90. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\which\which.js:89:16
  91. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\index.js:42:5
  92. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\windows.js:36:5
  93. gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
  94. gyp verb `which` failed  python { Error: not found: python
  95. gyp verb `which` failed     at getNotFoundError (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:13:12)
  96. gyp verb `which` failed     at F (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:68:19)
  97. gyp verb `which` failed     at E (D:\dev\github\openbazaar-desktop\node_modules\which\which.js:80:29)
  98. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\which\which.js:89:16
  99. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\index.js:42:5
  100. gyp verb `which` failed     at D:\dev\github\openbazaar-desktop\node_modules\isexe\windows.js:36:5
  101. gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
  102. gyp verb `which` failed   stack: 'Error: not found: python\n    at getNotFoundError (D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:13:12)\n    at F (D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:68:19)\n    at E (D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:80:29)\n    at D:\\dev\\github\\openbazaar-desktop\\node_modules\\which\\which.js:89:16\n    at D:\\dev\\github\\openbazaar-desktop\\node_modules\\isexe\\index.js:42:5\n    at D:\\dev\\github\\openbazaar-desktop\\node_modules\\isexe\\windows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:152:21)',
  103. gyp verb `which` failed   code: 'ENOENT' }
  104. gyp verb could not find "python". checking python launcher
  105. gyp verb could not find "python". guessing location
  106. gyp verb ensuring that file exists: C:\Python27\python.exe
  107. gyp ERR! configure error
  108. gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  109. gyp ERR! stack     at PythonFinder.failNoPython (D:\dev\github\openbazaar-desktop\node_modules\node-gyp\lib\configure.js:483:19)
  110. gyp ERR! stack     at PythonFinder.<anonymous> (D:\dev\github\openbazaar-desktop\node_modules\node-gyp\lib\configure.js:508:16)
  111. gyp ERR! stack     at D:\dev\github\openbazaar-desktop\node_modules\graceful-fs\polyfills.js:284:29
  112. gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
  113. gyp ERR! System Windows_NT 10.0.16299
  114. gyp ERR! command "D:\\Program Files\\node\\node.exe" "D:\\dev\\github\\openbazaar-desktop\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  115. gyp ERR! cwd D:\dev\github\openbazaar-desktop\node_modules\node-sass
  116. gyp ERR! node -v v8.9.1
  117. gyp ERR! node-gyp -v v3.6.2
  118. gyp ERR! not ok
  119. Build failed with error code: 1
  120. npm WARN Error: EPERM: operation not permitted, scandir 'D:\dev\github\openbazaar-desktop\node_modules\fsevents\node_modules\getpass\node_modules'
  121. npm WARN  { Error: EPERM: operation not permitted, scandir 'D:\dev\github\openbazaar-desktop\node_modules\fsevents\node_modules\getpass\node_modules'
  122. npm WARN   stack: 'Error: EPERM: operation not permitted, scandir \'D:\\dev\\github\\openbazaar-desktop\\node_modules\\fsevents\\node_modules\\getpass\\node_modules\'',
  123. npm WARN   errno: -4048,
  124. npm WARN   code: 'EPERM',
  125. npm WARN   syscall: 'scandir',
  126. npm WARN   path: 'D:\\dev\\github\\openbazaar-desktop\\node_modules\\fsevents\\node_modules\\getpass\\node_modules' }
  127. npm ERR! code ELIFECYCLE
  128. npm ERR! errno 1
  129. npm ERR! [email protected] postinstall: `node scripts/build.js`
  130. npm ERR! Exit status 1
  131. npm ERR!
  132. npm ERR! Failed at the [email protected] postinstall script.
  133. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  134.  
  135. npm ERR! A complete log of this run can be found in:
  136. npm ERR!     C:\Users\Chris\AppData\Roaming\npm-cache\_logs\2017-12-08T17_27_57_764Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment