Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting errot in installation of mime module...any1 can help? #87

Closed
shailendra9 opened this issue Apr 2, 2014 · 1 comment
Closed

Comments

@shailendra9
Copy link

here log info:
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', 'mime' ]
info using npm@1.1.4
info using node@v0.6.12
verbose config file /home/shailendra/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose cache add [ 'mime', null ]
silly cache add: name, spec, args [ undefined, 'mime', [ 'mime', null ] ]
verbose parsed url { pathname: 'mime', path: 'mime', href: 'mime' }
verbose addNamed [ 'mime', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'mime', '', false ]
verbose raw, before any munging mime
verbose url resolving [ 'https://registry.npmjs.org/', './mime' ]
verbose url resolved https://registry.npmjs.org/mime
http GET https://registry.npmjs.org/mime
ERR! Error: failed to fetch from registry: mime
ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at HTTPParser.onIncoming (http.js:1261:11)
ERR! at HTTPParser.onHeadersComplete (http.js:102:31)
ERR! You may report this log at:
ERR! http://bugs.debian.org/npm
ERR! or use
ERR! reportbug --attach /home/shailendra/npm-debug.log npm
ERR!
ERR! System Linux 3.8.0-37-generic
ERR! command "node" "/usr/bin/npm" "install" "mime"
ERR! cwd /home/shailendra
ERR! node -v v0.6.12
ERR! npm -v 1.1.4
ERR! message failed to fetch from registry: mime
verbose exit [ 1, true ]

@broofa
Copy link
Owner

broofa commented Apr 2, 2014

Looks like npm failed to fetch the https://registry.npmjs.org/mime resource. I suspect this is either an issue with your network or an issue with npm. Try opening https://registry.npmjs.org/mime in your browser - it should return a big blob of JSON (that's what I see). If not, then it's something with your network.

@broofa broofa closed this as completed Apr 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants