{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-meteor/issues/30","labels_url":"https://api.github.com/repos/reactjs/react-meteor/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-meteor/issues/30/comments","events_url":"https://api.github.com/repos/reactjs/react-meteor/issues/30/events","html_url":"https://github.com/reactjs/react-meteor/issues/30","id":57744059,"number":30,"title":"Permission error on installing","user":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T20:16:02Z","updated_at":"2015-02-15T21:20:01Z","closed_at":"2015-02-15T21:20:01Z","body":"After running\r\n\r\n```\r\necho react >> .meteor/packages\r\ngit clone https://github.com/benjamn/react-meteor.git packages/react\r\n```\r\n\r\nmy meteor app is crashing with errors like:\r\n\r\n```\r\n$ meteor\r\n[[[[[ ~/c/curves ]]]]]\r\n\r\n=> Started proxy.\r\ncompileJSX: updating npm dependencies -- react, react-tools...\r\n=> Started MongoDB.\r\nnpm ERR! Error: EACCES, mkdir '/Users/ryan/.npm/through/2.3.6'\r\nnpm ERR!  { [Error: EACCES, mkdir '/Users/ryan/.npm/through/2.3.6']\r\nnpm ERR!   errno: 3,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   path: '/Users/ryan/.npm/through/2.3.6',\r\nnpm ERR!   parent: 'envify' }\r\nnpm ERR!\r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! System Darwin 14.1.0\r\nnpm ERR! command \"/Users/ryan/.meteor/packages/meteor-tool/.1.0.40.959pzb++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/bin/node\"\r\n\"/Users/ryan/.meteor/packages/meteor-tool/.1.0.40.959pzb++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/bin/npm\" \"install\" \"react@0.10.0\"\r\nnpm ERR! cwd /Users/ryan/c/curves/packages/react/.npm/plugin/compileJSX-new-1yfuxd2\r\nnpm ERR! node -v v0.10.33\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! path /Users/ryan/.npm/through/2.3.6\r\nnpm ERR! code EACCES\r\nnpm ERR! errno 3\r\nnpm ERR! stack Error: EACCES, mkdir '/Users/ryan/.npm/through/2.3.6'\r\nnpm ERR! not ok code 0\r\n```\r\n\r\nSeems like some kind of permissions are screwy on my system, but I don't really have a mental model of what is calling `npm install` and why, where it's trying to write to, etc., so if anything is obvious to you about what might cause this lmk! Thanks!\r\n\r\nThe `/Users/ryan/.npm` directory referenced is owned by user `ryan`, which is also the user running `meteor`."},"comment":{"url":"https://api.github.com/repos/reactjs/react-meteor/issues/comments/74437661","html_url":"https://github.com/reactjs/react-meteor/issues/30#issuecomment-74437661","issue_url":"https://api.github.com/repos/reactjs/react-meteor/issues/30","id":74437661,"user":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T21:20:01Z","updated_at":"2015-02-15T21:20:01Z","body":"nevermind, I had stuff in my `$HOME/.npm` that was owned by `root` for some reason. closing"}}