nodejs/node-gyp

Windows 8.1 fatal error C1083

Sogl opened this issue · 4 comments

Sogl commented

Hi!

I'm trying to install Browsersync module, but it fails with error:

  bufferutil.cc
..\src\bufferutil.cc(7): fatal error C1083: Не удается открыть файл включение:
v8.h: No such file or directory [C:\Users\Артем\AppData\Roaming\npm\node_module s\browser-sync\node_modules\socket.io\node_modules\socket.io-client\node_module s\engine.io-client\node_modules\ws\node_modules\bufferutil\build\bufferutil.vcx proj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Артем\AppData\Roaming\npm\node_modules\browser-sync\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm WARN optional dep failed, continuing utf-8-validate@1.1.0
npm WARN optional dep failed, continuing bufferutil@1.1.0

Environment:

  • Windows 8.1 pro
  • Node.js v 0.12.7
  • Npm v 2.11.3 (can't update to latest 3.2.0 because npm/npm#9081)
  • Python 2.7 with PATH "C:\Python27\python.exe"
  • Visual Studio 2013 Community (also tried with VS 2013 Express)
  • Microsoft Build Tools 2013 installed
  • Windows 8.1 SDK full package
  • Windows 7.1 SDK full package
  • GYP_MSVS_VERSION path added

Also tried:

Sogl commented

Now I'm on npm 3.2.0 with clear node.js installation - npm/npm#9081

Also installed VS 2010 SP1.

Tried to install by this command:

npm i -g browser-sync --msvs_version=2010 --nodedir="C:\Users\Артем\.node-gyp\0.12.7"

found:
http://stackoverflow.com/questions/21200655/how-do-i-get-node-gyp-to-work-on-windows-7-platform

Still the same error.

Sogl commented

VS 2015 Community installed. Nothing changed.

Sogl commented

After month of researching and downloading/installing I found that if I use non-ASCII userprofile name - I can't install any tool with node-gyp dependency.
I renamed my profile to eng. and all works fine now.

this can be closed now @Trott