arunoda / node-usage

process usage lookup with nodejs
MIT License
389 stars 93 forks source link

Can't install under Win7-64Bit #3

Closed rottmann closed 11 years ago

rottmann commented 11 years ago

In company i work with linux, so it is no problem. And we deploy to nodejitsu.

I use at home Windows 7 - 64 Bit Installed Python 2.7.3 and everything from https://github.com/TooTallNate/node-gyp#installation I test with Express 2010 and 2012

npm install usage

npm http GET https://registry.npmjs.org/usage
npm http 304 https://registry.npmjs.org/usage
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings

> usage@0.3.4 install e:\test\node_modules\usage
> node-gyp rebuild

e:\test\node_modules\usage>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: Die Plattform für Projekt "sysinfo.vcxproj" ist ungültig.  Plattform="x64". Diese Meldung wird unter Umständen angezeigt, da ein Projekt ohne Projektmappendatei erstellt werden sollte und da eine nicht standardmäßige Plattform angegeben wurde, die für das Projekt nicht vorhanden ist. [e:\git\test\node_modules\usage\build\sysinfo.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:\Program Files\nodejs\node_modules\npm\node_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:789:12)
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 e:\test\node_modules\usage
gyp ERR! node -v v0.10.11
gyp ERR! node-gyp -v v0.10.0
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0

or is it a node-gyp specific problem ?

arunoda commented 11 years ago

I'm not quite sure about this. Never tested on windows. And there is no support for windows. But this should get installed.

rottmann commented 11 years ago

No problem, normally i use linux, but at home (win7) i change a little bit and try to deploy our project to nodejitsu. I set up am VM with Linux and deploy it.