mapbox / csv2geojson

magically convert csv files to geojson files
http://mapbox.github.io/csv2geojson/
MIT License
363 stars 82 forks source link

csv2geojson is not in the npm registry #17

Closed N3bTcx closed 10 years ago

N3bTcx commented 10 years ago

Seems something wrong with npm.

root@n3b:~# cat /root/npm-debug.log 
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install', 'csv2geosjon' ]
2 info using npm@1.3.10
3 info using node@v0.10.20
4 verbose cache add [ 'csv2geosjon', null ]
5 verbose cache add name=undefined spec="csv2geosjon" args=["csv2geosjon",null]
6 verbose parsed url { protocol: null,
6 verbose parsed url   slashes: null,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: null,
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: null,
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: 'csv2geosjon',
6 verbose parsed url   path: 'csv2geosjon',
6 verbose parsed url   href: 'csv2geosjon' }
7 silly makeCacheDir cache dir uid, gid [ 0, 0 ]
8 silly lockFile f853376e-csv2geosjon csv2geosjon
9 verbose lock csv2geosjon /root/.npm/f853376e-csv2geosjon.lock
10 silly lockFile f853376e-csv2geosjon csv2geosjon
11 silly lockFile f853376e-csv2geosjon csv2geosjon
12 verbose addNamed [ 'csv2geosjon', '' ]
13 verbose addNamed [ null, '*' ]
14 silly lockFile b6ce4cd6-csv2geosjon csv2geosjon@
15 verbose lock csv2geosjon@ /root/.npm/b6ce4cd6-csv2geosjon.lock
16 silly addNameRange { name: 'csv2geosjon', range: '*', hasData: false }
17 verbose url raw csv2geosjon
18 verbose url resolving [ 'https://registry.npmjs.org/', './csv2geosjon' ]
19 verbose url resolved https://registry.npmjs.org/csv2geosjon
20 info trying registry request attempt 1 at 18:53:07
21 http GET https://registry.npmjs.org/csv2geosjon
22 http 404 https://registry.npmjs.org/csv2geosjon
23 silly registry.get cb [ 404,
23 silly registry.get   { server: 'CouchDB/1.3.1 (Erlang OTP/R15B03)',
23 silly registry.get     date: 'Mon, 14 Oct 2013 14:53:08 GMT',
23 silly registry.get     'content-type': 'application/json',
23 silly registry.get     'content-length': '52',
23 silly registry.get     'cache-control': 'must-revalidate' } ]
24 silly lockFile b6ce4cd6-csv2geosjon csv2geosjon@
25 silly lockFile b6ce4cd6-csv2geosjon csv2geosjon@
26 error 404 'csv2geosjon' is not in the npm registry.
26 error 404 You should bug the author to publish it
26 error 404
26 error 404 Note that you can also install from a
26 error 404 tarball, folder, or http url, or git url.
27 error System Linux 2.6.32-274.7.1.el5.028stab095.1
28 error command "/usr/bin/nodejs" "/usr/bin/npm" "install" "csv2geosjon"
29 error cwd /root
30 error node -v v0.10.20
31 error npm -v 1.3.10
32 error code E404
33 verbose exit [ 1, true ]
N3bTcx commented 10 years ago

My fault. no -g

npm install -g csv2geojson

Sorry