Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 8.1 fatal error C1083 #676

Closed
Sogl opened this issue Jul 28, 2015 · 4 comments
Closed

Windows 8.1 fatal error C1083 #676

Sogl opened this issue Jul 28, 2015 · 4 comments
Labels

Comments

@Sogl
Copy link

Sogl commented Jul 28, 2015

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 Windows 8.1 pro npm update bug (3.2.0) 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
Copy link
Author

Sogl commented Jul 28, 2015

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
Copy link
Author

Sogl commented Aug 7, 2015

VS 2015 Community installed. Nothing changed.

@Sogl
Copy link
Author

Sogl commented Aug 16, 2015

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.

@a0viedo
Copy link
Member

a0viedo commented Mar 26, 2018

this can be closed now @Trott

@Trott Trott closed this as completed Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants