kuno / GeoIP

GeoIP binding for nodejs(>=0.10) and iojs
GNU Lesser General Public License v2.1
414 stars 129 forks source link

installation problem #70

Open fish1919 opened 10 years ago

fish1919 commented 10 years ago

HI, there is an error in my installation,

C:\mygit\hummingbird>npm install geoip npm WARN package.json node-static@0.5.9 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

geoip@0.4.12 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! geoip@0.4.12 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the geoip@0.4.12 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

kuno commented 10 years ago

@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.

brianhhq commented 8 years ago

same in mac osx 10.9; npm 2.5.1