GeoIP icon indicating copy to clipboard operation
GeoIP copied to clipboard

installation problem

Open fish1919 opened this issue 11 years ago • 2 comments
trafficstars

HI, there is an error in my installation,

C:\mygit\hummingbird>npm install geoip npm WARN package.json [email protected] No repository field. npm http GET https://registry.npmjs.org/geoip/0.4.12 npm http 304 https://registry.npmjs.org/geoip/0.4.12 npm http GET https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/nan

[email protected] install C:\mygit\hummingbird\node_modules\geoip node-gyp rebuild

C:\mygit\hummingbird\node_modules\geoip>node "C:\nodejs\node_modules\npm\bin\nod e-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild gyp ERR! configure error gyp ERR! stack Error: spawn ENOENT gyp ERR! stack at errnoException (child_process.js:980:11) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771: 34) gyp ERR! System Windows_NT 5.1.2600 gyp ERR! command "node" "C:\nodejs\node_modules\npm\node_modules\node-gyp
bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\mygit\hummingbird\node_modules\geoip gyp ERR! node -v v0.10.22 gyp ERR! node-gyp -v v0.11.0 gyp ERR! not ok npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is most likely a problem with the geoip 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 geoip npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 5.1.2600 npm ERR! command "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\n pm-cli.js" "install" "geoip" npm ERR! cwd C:\mygit\hummingbird npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\mygit\hummingbird\npm-debug.log npm ERR! not ok code 0

fish1919 avatar Mar 27 '14 08:03 fish1919

@fish1919

Sorry, the supports for windows is really bad at this moment.

I am lacks both experiences and hardware to make this module working on windows.

kuno avatar Mar 27 '14 10:03 kuno

same in mac osx 10.9; npm 2.5.1

brianhhq avatar Dec 02 '15 04:12 brianhhq