TooTallNate / node-lame

Node.js native bindings to libmp3lame & libmpg123
MIT License
567 stars 113 forks source link

Npm install on Windows failing #17

Closed jansmolders86 closed 11 years ago

jansmolders86 commented 11 years ago

Sorry if this is a duplicate issue, but I did not find the answer yet. I'm getting this error trying to install lame on Windows 7. Thank you for taking the time to help me out!


C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\node_modules\lame>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild
Warning: Missing input files:
C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\node_modules\lame\build\deps\mpg123......\deps\mpg123\test_output.c
C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\node_modules\lame\build\deps\lame\mp3lame.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the  declaration is co
rrect, and that the file exists on disk.
C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\node_modules\lame\build\deps\mpg123\mpg123.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the  declaration is c
orrect, and that the file exists on disk.
C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\node_modules\lame\build\deps\lame\lamevectorroutines.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the  declar
ation is correct, and that the file exists on disk.
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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\node_modules\lame
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! lame@1.0.2 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the lame@1.0.2 install script.
npm ERR! This is most likely a problem with the lame 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 lame
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "lame"
npm ERR! cwd C:\Users\jan.smolders\Documents\GitHub\mediacenterjs
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\jan.smolders\Documents\GitHub\mediacenterjs\npm-debug.log
npm ERR! not ok code 0
jansmolders86 commented 11 years ago

I found the cause. My missing visual studio 2012 install. Thanks!