{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7349","labels_url":"https://api.github.com/repos/npm/npm/issues/7349/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7349/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7349/events","html_url":"https://github.com/npm/npm/issues/7349","id":57478259,"number":7349,"title":"yeoman generator and npm errors","user":{"login":"davicho","id":1090555,"avatar_url":"https://avatars.githubusercontent.com/u/1090555?v=3","gravatar_id":"","url":"https://api.github.com/users/davicho","html_url":"https://github.com/davicho","followers_url":"https://api.github.com/users/davicho/followers","following_url":"https://api.github.com/users/davicho/following{/other_user}","gists_url":"https://api.github.com/users/davicho/gists{/gist_id}","starred_url":"https://api.github.com/users/davicho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davicho/subscriptions","organizations_url":"https://api.github.com/users/davicho/orgs","repos_url":"https://api.github.com/users/davicho/repos","events_url":"https://api.github.com/users/davicho/events{/privacy}","received_events_url":"https://api.github.com/users/davicho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/node-bug","name":"node-bug","color":"e10c02"},{"url":"https://api.github.com/repos/npm/npm/labels/repro-please","name":"repro-please","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2015-02-12T15:54:48Z","updated_at":"2015-03-17T10:15:23Z","closed_at":null,"body":"New to this node game and I think this is where I need to be. \r\n\r\nI have installed both an angular generator and webapp (2 diff projects, the webapp is a query tutorial) and get NPM errors. Focusing on the webapp, first errors:\r\n\r\n```\r\nnpm WARN package.json lynda-jquery-essential@ No description\r\nnpm WARN package.json lynda-jquery-essential@ No repository field.\r\nnpm WARN package.json lynda-jquery-essential@ No README data\r\nnpm ERR! Darwin 14.1.0\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"install\"\r\nnpm ERR! node v0.12.0\r\nnpm ERR! npm  v2.5.0\r\n\r\nnpm ERR! null == true\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n```\r\n*more fetching and installing* then this error:\r\n```\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/darivera/Documents/BUSINESS/veecho/web_v1/web/code/lynda-jquery-essential/test/npm-debug.log\r\n```\r\n\r\nAnd lastly when I run grunt serve this error:\r\n```\r\nLoading \"autoprefixer.js\" tasks...ERROR\r\n>> Error: Cannot find module 'postcss'\r\n\r\nRunning \"serve\" task\r\nWarning: Task \"autoprefixer\" not found. Use --force to continue.\r\n\r\nAborted due to warnings.\r\n``` \r\n\r\n FYI: I am pretty sure I installed node thru brew. Can't remember if I did globally (how can I tell? does it matter?). I keep reading about changing permissions on some files and that it is a bug. Funny thing is that angular generator would run \"grunt serve\" (still with some errors but it would run) BUT the webapp, you'd think it would run - doesn't. \r\n\r\nThx.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/82257201","html_url":"https://github.com/npm/npm/issues/7349#issuecomment-82257201","issue_url":"https://api.github.com/repos/npm/npm/issues/7349","id":82257201,"user":{"login":"haxzorer","id":11200663,"avatar_url":"https://avatars.githubusercontent.com/u/11200663?v=3","gravatar_id":"","url":"https://api.github.com/users/haxzorer","html_url":"https://github.com/haxzorer","followers_url":"https://api.github.com/users/haxzorer/followers","following_url":"https://api.github.com/users/haxzorer/following{/other_user}","gists_url":"https://api.github.com/users/haxzorer/gists{/gist_id}","starred_url":"https://api.github.com/users/haxzorer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haxzorer/subscriptions","organizations_url":"https://api.github.com/users/haxzorer/orgs","repos_url":"https://api.github.com/users/haxzorer/repos","events_url":"https://api.github.com/users/haxzorer/events{/privacy}","received_events_url":"https://api.github.com/users/haxzorer/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T10:15:23Z","updated_at":"2015-03-17T10:15:23Z","body":"Hi everyone,\r\n\r\nI thought it could be worth mentioning i have hade this 'null == true' error myself several times over the past days, and it seemed as though nothing i tried could fix it. The specific error:\r\n\r\nnpm ERR! Darwin 13.4.0\r\nnpm ERR! argv \"node\" \"/Users/mikael/npm-global/bin/npm\" \"install\"\r\nnpm ERR! node v0.12.0\r\nnpm ERR! npm v2.7.1\r\n\r\nnpm ERR! null == true\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR! https://github.com/npm/npm/issues\r\n\r\nBefore running npm install and getting this error, I had recently done a complete reinstall of node and npm, so there would be nothing old interfering with the install (could be worth mentioning that I was trying to install Sage when the error occurs). Then I found this thread: http://stackoverflow.com/questions/18419144/npm-not-working-read-econnreset\r\n\r\nSo I tried what it suggested, and by switching from 'https' to 'http' in the registry config setting, suddenly everything installed without a hitch.\r\n\r\nNow, I am no expert, so this is probably not an optimal solution, BUT it is another workaround to try if nothing else works, as it did for me :)\r\n\r\nAlso, I am running Mac OS X 10.9.5"}}