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 7 / node.js / install issue #278

Closed
Bromoxid opened this issue Sep 12, 2014 · 14 comments
Closed

Windows 7 / node.js / install issue #278

Bromoxid opened this issue Sep 12, 2014 · 14 comments

Comments

@Bromoxid
Copy link

Hi guys,
I've some bad problems to run : npm install level on windows 7 (64x)

(the main quest is to use pouchdb but it use leveldown at npm install and so)

I've read and googled a lot but can´'t find a solution, ok here the tools I#ve already installed :

  • python 2.7.8
  • Node 0.10.28
  • MVS C++ express 2012
  • Windows 7 64-bit sdk + update to 7.1

if I type npm install level :

npm http GET https://registry.npmjs.org/level
npm http 304 https://registry.npmjs.org/level
npm http GET https://registry.npmjs.org/leveldown
npm http GET https://registry.npmjs.org/level-packager
npm http 304 https://registry.npmjs.org/leveldown
npm http 304 https://registry.npmjs.org/level-packager
npm http GET https://registry.npmjs.org/levelup
npm http 304 https://registry.npmjs.org/levelup
npm http GET https://registry.npmjs.org/errno
npm http GET https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/prr
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/bl
npm http GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/bl
npm http 304 https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/deferred-leveldown
npm http 304 https://registry.npmjs.org/errno
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/prr
npm http GET https://registry.npmjs.org/abstract-leveldown

leveldown@0.10.2 install C:\htdocs\simple_js_test\node_modules\level\node_modu
les\leveldown
node-gyp rebuild

C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown>node "C:\Serv
ice\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\no
de-gyp.js" rebuild
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall
ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
builder.cc
db_impl.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
db_iter.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
filename.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
dbformat.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
log_reader.cc
log_writer.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
memtable.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
repair.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
table_cache.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
version_edit.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
version_set.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
write_batch.cc
memenv.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
block.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
block_builder.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
filter_block.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
format.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
iterator.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
merger.cc
table.cc
table_builder.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
two_level_iterator.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
arena.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
bloom.cc
cache.cc
coding.cc
comparator.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
crc32c.cc
env.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
filter_policy.cc
hash.cc
logging.cc
options.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
status.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
port_uv.cc
env_win.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
win_logger.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\l
eveldb\leveldb.vcxproj]
snappy-sinksource.cc
snappy-stubs-internal.cc
snappy.cc
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\s
nappy\snappy.vcxproj]
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\intrin.h(26): fa
tal error C1083: Cannot open include file: 'ammintrin.h': No such file or direc
tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\s
nappy\snappy.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: msbuild failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Service\nodejs\node_modules\npm\no
de_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Service\nodejs\node_modules\npm\node_modules\n
ode-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/abstract-leveldown
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/core-util-is
npm ERR! leveldown@0.10.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@0.10.2 install script.
npm ERR! This is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Service\nodejs\node.exe" "C:\Service\nodejs\node_mo
dules\npm\bin\npm-cli.js" "install" "level"
npm ERR! cwd C:\htdocs\simple_js_test
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\htdocs\simple_js_test\npm-debug.log
npm ERR! not ok code 0

hope everyone have an idea. :)

@juliangruber
Copy link
Member

the problem seems to be this file:

Cannot open include file: 'ammintrin.h': No such file or direc tory [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\s nappy\snappy.vcxproj]

which is referenced from leveldb and snappy

@juliangruber
Copy link
Member

are you on the latest service pack?

@Bromoxid
Copy link
Author

ok it is the latest

@Bromoxid
Copy link
Author

ok windows had have soe updates for .Net and so now its :

C:\htdocs\simple_js_test>npm install level
npm http GET https://registry.npmjs.org/level
npm http 304 https://registry.npmjs.org/level
npm http GET https://registry.npmjs.org/leveldown
npm http GET https://registry.npmjs.org/level-packager
npm http 304 https://registry.npmjs.org/leveldown
npm http 304 https://registry.npmjs.org/level-packager
npm http GET https://registry.npmjs.org/levelup
npm http 304 https://registry.npmjs.org/levelup
npm http GET https://registry.npmjs.org/bl
npm http GET https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/errno
npm http GET https://registry.npmjs.org/prr
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/bl
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/prr
npm http 304 https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/errno
npm http 304 https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/abstract-leveldown
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/nan

leveldown@0.10.2 install C:\htdocs\simple_js_test\node_modules\level\node_modu
les\leveldown
node-gyp rebuild

C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown>node "C:\Serv
ice\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\no
de-gyp.js" rebuild
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall
ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(29
7,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version nu
mber. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps
leveldb\leveldb.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x
64.targets(152,5): error MSB6006: "CL.exe" wurde mit dem Code -1073741515 beend
et. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\le
veldb\leveldb.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(29
7,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version nu
mber. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps
snappy\snappy.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x
64.targets(152,5): error MSB6006: "CL.exe" wurde mit dem Code -1073741515 beend
et. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\sn
appy\snappy.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Service\nodejs\node_modules\npm\no
de_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Service\nodejs\node_modules\npm\node_modules\n
ode-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/abstract-leveldown
npm ERR! leveldown@0.10.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@0.10.2 install script.
npm ERR! This is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Service\nodejs\node.exe" "C:\Service\nodejs\node_mo
dules\npm\bin\npm-cli.js" "install" "level"
npm ERR! cwd C:\htdocs\simple_js_test
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\htdocs\simple_js_test\npm-debug.log
npm ERR! not ok code 0

@Bromoxid
Copy link
Author

I've found a similar problem at http://iansworld-nz.blogspot.de/2013/12/building-pouchdb-on-windows-7.html

but nether the x86 nor the x64 solution works, x86 --> first error // x64 --> second error

@juliangruber
Copy link
Member

ok i'm out :D anyone else?

this looks like the culprit:

Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version nu mber.

@No9
Copy link

No9 commented Sep 12, 2014

I have this on a work machine
Exactly the same :(
Havnt splunked the registry yet.
Ill give it a shot later

@No9
Copy link

No9 commented Sep 12, 2014

I forgot how much FUN windows is.
@Bromoxid my work setup was similar to yours i.e. 2012 and WIN 7.1
I also had the WindowsSDKDir issue.
Just resolved it by running

set GYP_MSVS_VERSION=2012

In the same console before doing the install.
Please try and let me know how you get on.
If it works it can probably go in as an environment variable but lets see how we get on

@Bromoxid
Copy link
Author

Ok I've try it but nothing changes,
more ideas?

C:\htdocs\simple_js_test>set GVP_MSVS_VERSION=2012

C:\htdocs\simple_js_test>npm install level
npm http GET https://registry.npmjs.org/level
npm http 304 https://registry.npmjs.org/level
npm http GET https://registry.npmjs.org/leveldown
npm http GET https://registry.npmjs.org/level-packager
npm http 304 https://registry.npmjs.org/leveldown
npm http 304 https://registry.npmjs.org/level-packager
npm http GET https://registry.npmjs.org/levelup
npm http 304 https://registry.npmjs.org/levelup
npm http GET https://registry.npmjs.org/bl
npm http GET https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/errno
npm http GET https://registry.npmjs.org/prr
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/bl
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/errno
npm http 304 https://registry.npmjs.org/deferred-leveldown
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/prr
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/nan
npm http GET https://registry.npmjs.org/abstract-leveldown
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/isarray

leveldown@0.10.2 install C:\htdocs\simple_js_test\node_modules\level\node_modu
les\leveldown
node-gyp rebuild

C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown>node "C:\Serv
ice\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\no
de-gyp.js" rebuild
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall
ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(29
7,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version nu
mber. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps
leveldb\leveldb.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x
64.targets(152,5): error MSB6006: "CL.exe" wurde mit dem Code -1073741515 beend
et. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\le
veldb\leveldb.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(29
7,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version nu
mber. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps
snappy\snappy.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\Microsoft.Cpp.x
64.targets(152,5): error MSB6006: "CL.exe" wurde mit dem Code -1073741515 beend
et. [C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown\deps\sn
appy\snappy.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Service\nodejs\node_modules\npm\no
de_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Service\nodejs\node_modules\npm\node_modules\n
ode-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\htdocs\simple_js_test\node_modules\level\node_modules\leveldown
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/abstract-leveldown
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/inherits
npm ERR! leveldown@0.10.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@0.10.2 install script.
npm ERR! This is most likely a problem with the leveldown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls leveldown
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Service\nodejs\node.exe" "C:\Service\nodejs\node_mo
dules\npm\bin\npm-cli.js" "install" "level"
npm ERR! cwd C:\htdocs\simple_js_test
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\htdocs\simple_js_test\npm-debug.log
npm ERR! not ok code 0

@No9
Copy link

No9 commented Sep 15, 2014

Typo?
Yours set GVP_MSVS_VERSION=2012
Mine set GYP_MSVS_VERSION=2012

@Bromoxid
Copy link
Author

fuuu,--> youre right typo, my fault,
and now it works,
thank you ^^

@No9
Copy link

No9 commented Sep 15, 2014

Sweet!
Closing this then.

@No9 No9 closed this as completed Sep 15, 2014
@juliangruber
Copy link
Member

is there anything we should document? like in a faq thread

@No9
Copy link

No9 commented Sep 15, 2014

I think this is a node-gyp issue
nodejs/node-gyp#119
nodejs/node-gyp#422

Do they have a FAQ type page?
If they do then we should point to that.

@TooTallNate

Edit -- well it's really a gyp issue but as node-gyp is our wrapper......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants