does not work #2692

nandub opened this Issue Aug 11, 2012 · 4 comments


None yet
4 participants

nandub commented Aug 11, 2012

Installing npm using curl | sh no longer works.


mfncooper commented Aug 11, 2012

Some more information would be helpful. What goes wrong? What error messages do you see? What OS are you using? What version of Node.js do you have?

nandub commented Aug 11, 2012

This is the error I get.

ENOENT, open '/home/node/npm-www/'

An error occurred. If you feel this is a bug (which is likely), you are encouraged to submit an issue so that it can be addressed.

If you have ideas about how this could have been handled better, please share those as well.

Additional Debug Information

Error: ENOENT, open '/home/node/npm-www/'
    at ServerResponse.error (/home/node/npm-www/node_modules/error-page/error-page.js:108:20)
    at Mount.error (/home/node/npm-www/node_modules/st/st.js:205:16)
    at Mount.serve (/home/node/npm-www/node_modules/st/st.js:166:25)
    at AsyncCache.get (/home/node/npm-www/node_modules/async-cache/ac.js:45:7)
    at Array.forEach (native)
    at AsyncCache.get (/home/node/npm-www/node_modules/async-cache/ac.js:44:9)
    at /home/node/npm-www/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:55:5
    at /home/node/npm-www/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:67:5
    at /home/node/npm-www/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:55:5
    at /home/node/npm-www/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:67:5

headers = {
  "host": "",
  "connection": "keep-alive",
  "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/535.7 (KHTML, like Gecko) RockMelt/ Chrome/16.0.912.77 Safari/535.7",
  "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
  "accept-encoding": "gzip,deflate,sdch",
  "accept-language": "en-US,en;q=0.8",
  "accept-charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.3"

error = {
  "errno": 34,
  "code": "ENOENT",
  "path": "/home/node/npm-www/"

statusCode = 404

stamp = pid=60113 worker=19 e02a39404a26018afdb3e50045a20dc3

winton commented Aug 11, 2012

Just access in your browser, it isn't a valid bash script.


isaacs commented Aug 12, 2012


@isaacs isaacs closed this Aug 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment