Coder Social home page Coder Social logo

empty folder with NPN about node-geoip HOT 9 CLOSED

geoip-lite avatar geoip-lite commented on July 19, 2024
empty folder with NPN

from node-geoip.

Comments (9)

bluesmoon avatar bluesmoon commented on July 19, 2024

Just tried a fresh install, and it worked for me. Could be a problem
with npm or could be something else, but it's not the package. Can
you try reinstalling it using the --force flag?

Philip

from node-geoip.

thomas-louvigne avatar thomas-louvigne commented on July 19, 2024

I try on 2 other folder with --force flag but it doesn't change any thing...
But it works on my co-worker computer (he is on mac ..)

It is strage got only half of the package ...
$</tmp/toto>ls -R node_modules/geoip-lite
node_modules/geoip-lite:
data/ package.json

node_modules/geoip-lite/data:
geoip-country6.dat geoip-country.dat

from node-geoip.

bluesmoon avatar bluesmoon commented on July 19, 2024

can you fetch the package file from
http://registry.npmjs.org/geoip-lite/-/geoip-lite-1.0.6.tgz and then
try to npm install that?

npm install geoip-lite-1.0.6.tgz

from node-geoip.

thomas-louvigne avatar thomas-louvigne commented on July 19, 2024

$<~/www/fold>npm install geoip-lite-1.0.6.tgz
npm http GET https://registry.npmjs.org/geoip-lite-1.0.6.tgz
npm http 404 https://registry.npmjs.org/geoip-lite-1.0.6.tgz

npm ERR! 404 'geoip-lite-1.0.6.tgz' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR!
npm ERR! System Linux 3.0.0-17-generic
npm ERR! command "node" "/usr/bin/npm" "install" "geoip-lite-1.0.6.tgz"
npm ERR! cwd /home/zobi8225/www/storination
npm ERR! node -v v0.6.15
npm ERR! npm -v 1.1.13
npm ERR! code E404
npm ERR! message 404 Not Found: geoip-lite-1.0.6.tgz
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/zobi8225/www/storination/npm-debug.log

:-(

Thomas Luquet
mail : [email protected]

On Fri, Apr 13, 2012 at 2:40 PM, Philip Tellis
[email protected]
wrote:

can you fetch the package file from
http://registry.npmjs.org/geoip-lite/-/geoip-lite-1.0.6.tgz and then
try to npm install that?

npm install geoip-lite-1.0.6.tgz


Reply to this email directly or view it on GitHub:
#6 (comment)

from node-geoip.

bluesmoon avatar bluesmoon commented on July 19, 2024

that's strange, it looks like npm didn't see the file in the local
directory. try using the full path to the tarball that you downloaded
to your local filesystem.

from node-geoip.

thomas-louvigne avatar thomas-louvigne commented on July 19, 2024

yes it is strange..

My co-worker give me a tarrball of the node_module, and it's working.

from node-geoip.

thomas-louvigne avatar thomas-louvigne commented on July 19, 2024

and i got the same thing witth geoip-lite-with-city-data :

$/tmp/tutu/node_modules/geoip-lite-with-city-data
package.json

realy strange...

from node-geoip.

bluesmoon avatar bluesmoon commented on July 19, 2024

don't think this is a problem with the package. maybe contact @issacs to see if it's something with npm

from node-geoip.

thomas-louvigne avatar thomas-louvigne commented on July 19, 2024

ok thx

from node-geoip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.