{"comment":{"created_at":"2011-10-14T11:18:43Z","body":"result is : http://registry.npmjs.org/npm/-/npm-1.0.96.tgz\r\n\r\n","updated_at":"2011-10-14T11:18:43Z","url":"https://api.github.com/repos/isaacs/npm/issues/comments/2405575","id":2405575,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b613059e69cf44ce4922c9e53d55b09f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b613059e69cf44ce4922c9e53d55b09f","url":"https://api.github.com/users/sothye98","id":1122465,"login":"sothye98"}},"action":"created","issue":{"number":1540,"created_at":"2011-10-12T13:24:42Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi!\r\n\r\nWhen I run above command I got the follwong error:\r\n\r\nCould not create /usr/local/lib/node_modules/___npm.npm\r\nnpm ERR! error installing npm@1.0.94 Error: EACCES, Permission denied '/usr/local/lib/node_modules'\r\nnpm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules'\r\nnpm ERR! Report this *entire* log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-@googlegroups.com>\r\nnpm ERR! \r\nnpm ERR! System Linux 2.6.38-8-generic\r\nnpm ERR! command \"node\" \"/tmp/npm.2841/package/cli.js\" \"install\" \"-g\" \"-f\"\r\nnpm ERR! cwd /tmp/npm.2841/package\r\nnpm ERR! node -v v0.4.12\r\nnpm ERR! npm -v 1.0.94\r\nnpm ERR! path /usr/local/lib/node_modules\r\nnpm ERR! code EACCES\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /tmp/npm.2841/package/npm-debug.log\r\nnpm not ok\r\nmake: *** [install] Error 1\r\nnpm ERR! Could not create /usr/local/lib/node_modules/___npm.npm\r\nnpm ERR! error installing npm@1.0.94 Error: EACCES, Permission denied '/usr/local/lib/node_modules'\r\nnpm ERR! Error: EACCES, Permission denied '/usr/local/lib/node_modules'\r\nnpm ERR! Report this *entire* log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-@googlegroups.com>\r\nnpm ERR! \r\nnpm ERR! System Linux 2.6.38-8-generic\r\nnpm ERR! command \"/usr/local/bin/node\" \"/tmp/npm.2841/package/cli.js\" \"install\" \"-gf\"\r\nnpm ERR! cwd /tmp/npm.2841/package\r\nnpm ERR! node -v v0.4.12\r\nnpm ERR! npm -v 1.0.94\r\nnpm ERR! path /usr/local/lib/node_modules\r\nnpm ERR! code EACCES\r\n\r\n\r\nBut When I run \r\ncurl http://npmjs.org/install.sh | sudo sh\r\n\r\nI got nothing. Can you where is the mistake?\r\n\r\nThanks\r\n","comments":4,"title":"curl http://npmjs.org/install.sh | sh","updated_at":"2011-10-14T11:18:43Z","url":"https://api.github.com/repos/isaacs/npm/issues/1540","id":1887240,"assignee":null,"milestone":null,"closed_at":"2011-10-12T16:26:31Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/b613059e69cf44ce4922c9e53d55b09f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b613059e69cf44ce4922c9e53d55b09f","url":"https://api.github.com/users/sothye98","id":1122465,"login":"sothye98"},"html_url":"https://github.com/isaacs/npm/issues/1540","labels":[],"state":"closed"},"legacy":{"issue_id":1887240,"comment_id":2405575}}