luqin / blog

My blog
https://github.com/luqin/blog/issues
64 stars 11 forks source link

node-sass install issue #19

Closed Marilynlee closed 6 years ago

Marilynlee commented 7 years ago

0 info it worked if it ends with ok 1 verbose cli [ 'D:\Program Files\nodejs\node.exe', 1 verbose cli 'D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'rebuild', 1 verbose cli 'node-sass' ] 2 info using npm@3.10.8 3 info using node@v6.8.1 4 info readInstalled object 5 verbose rebuild path, id [ 'D:\trainning\react\gallery-by-react\node_modules\node-sass', 5 verbose rebuild 'node-sass@3.10.1' ] 6 silly rebuild set [ 'D:\trainning\react\gallery-by-react\node_modules\node-sass' ] 7 info build D:\trainning\react\gallery-by-react\node_modules\node-sass 8 info lifecycle node-sass@3.10.1~preinstall: node-sass@3.10.1 9 silly lifecycle node-sass@3.10.1~preinstall: no script for preinstall, continuing 10 info linkStuff node-sass@3.10.1 11 silly linkStuff node-sass@3.10.1 has D:\trainning\react\gallery-by-react\node_modules as its parent node_modules 12 verbose linkBins node-sass@3.10.1 13 verbose link bins [ { 'node-sass': 'bin/node-sass' }, 13 verbose link bins 'D:\trainning\react\gallery-by-react\node_modules.bin', 13 verbose link bins false ] 14 verbose linkMans node-sass@3.10.1 15 verbose rebuildBundles node-sass@3.10.1 16 verbose rebuildBundles [ '.bin', 16 verbose rebuildBundles 'async-foreach', 16 verbose rebuildBundles 'chalk', 16 verbose rebuildBundles 'cross-spawn', 16 verbose rebuildBundles 'gaze', 16 verbose rebuildBundles 'get-stdin', 16 verbose rebuildBundles 'in-publish', 16 verbose rebuildBundles 'lodash.assign', 16 verbose rebuildBundles 'lodash.clonedeep', 16 verbose rebuildBundles 'meow', 16 verbose rebuildBundles 'mkdirp', 16 verbose rebuildBundles 'nan', 16 verbose rebuildBundles 'node-gyp', 16 verbose rebuildBundles 'npmlog', 16 verbose rebuildBundles 'request', 16 verbose rebuildBundles 'sass-graph' ] 17 info lifecycle node-sass@3.10.1~install: node-sass@3.10.1 18 verbose lifecycle node-sass@3.10.1~install: unsafe-perm in lifecycle true 19 verbose lifecycle node-sass@3.10.1~install: PATH: D:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;D:\trainning\react\gallery-by-react\node_modules\node-sass\node_modules.bin;D:\trainning\react\gallery-by-react\node_modules.bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_79\bin;C:\Program Files\Java\jdk1.7.0_79\jre\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;D:\Java\apache-maven-3.3.9\bin;D:\Program Files\TortoiseGit\bin;D:\Java\apache-tomcat-8.5.4\bin;D:\Program Files\nodejs\;C:\Users\wb-lyn227583\AppData\Roaming\npm 20 verbose lifecycle node-sass@3.10.1~install: CWD: D:\trainning\react\gallery-by-react\node_modules\node-sass 21 silly lifecycle node-sass@3.10.1~install: Args: [ '/d /s /c', 'node scripts/install.js' ] 22 silly lifecycle node-sass@3.10.1~install: Returned: code: 0 signal: null 23 info lifecycle node-sass@3.10.1~postinstall: node-sass@3.10.1 24 verbose lifecycle node-sass@3.10.1~postinstall: unsafe-perm in lifecycle true 25 verbose lifecycle node-sass@3.10.1~postinstall: PATH: D:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;D:\trainning\react\gallery-by-react\node_modules\node-sass\node_modules.bin;D:\trainning\react\gallery-by-react\node_modules.bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_79\bin;C:\Program Files\Java\jdk1.7.0_79\jre\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;D:\Java\apache-maven-3.3.9\bin;D:\Program Files\TortoiseGit\bin;D:\Java\apache-tomcat-8.5.4\bin;D:\Program Files\nodejs\;C:\Users\wb-lyn227583\AppData\Roaming\npm 26 verbose lifecycle node-sass@3.10.1~postinstall: CWD: D:\trainning\react\gallery-by-react\node_modules\node-sass 27 silly lifecycle node-sass@3.10.1~postinstall: Args: [ '/d /s /c', 'node scripts/build.js' ] 28 silly lifecycle node-sass@3.10.1~postinstall: Returned: code: 1 signal: null 29 info lifecycle node-sass@3.10.1~postinstall: Failed to exec postinstall script 30 verbose stack Error: node-sass@3.10.1 postinstall: node scripts/build.js 30 verbose stack Exit status 1 30 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16) 30 verbose stack at emitTwo (events.js:106:13) 30 verbose stack at EventEmitter.emit (events.js:191:7) 30 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14) 30 verbose stack at emitTwo (events.js:106:13) 30 verbose stack at ChildProcess.emit (events.js:191:7) 30 verbose stack at maybeClose (internal/child_process.js:877:16) 30 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 31 verbose pkgid node-sass@3.10.1 32 verbose cwd D:\trainning\react\gallery-by-react 33 error Windows_NT 6.1.7601 34 error argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "rebuild" "node-sass" 35 error node v6.8.1 36 error npm v3.10.8 37 error code ELIFECYCLE 38 error node-sass@3.10.1 postinstall: node scripts/build.js 38 error Exit status 1 39 error Failed at the node-sass@3.10.1 postinstall script 'node scripts/build.js'. 39 error Make sure you have the latest version of node.js and npm installed. 39 error If you do, this is most likely a problem with the node-sass package, 39 error not with npm itself. 39 error Tell the author that this fails on your system: 39 error node scripts/build.js 39 error You can get information on how to open an issue for this project with: 39 error npm bugs node-sass 39 error Or if that isn't available, you can get their info via: 39 error npm owner ls node-sass 39 error There is likely additional logging output above. 40 verbose exit [ 1, true ]