{"action":"created","issue":{"url":"https://api.github.com/repos/linnovate/mean/issues/1042","labels_url":"https://api.github.com/repos/linnovate/mean/issues/1042/labels{/name}","comments_url":"https://api.github.com/repos/linnovate/mean/issues/1042/comments","events_url":"https://api.github.com/repos/linnovate/mean/issues/1042/events","html_url":"https://github.com/linnovate/mean/issues/1042","id":56061416,"number":1042,"title":"npm install errors failing to initialise new meanio server","user":{"login":"laurencefass","id":3512857,"avatar_url":"https://avatars.githubusercontent.com/u/3512857?v=3","gravatar_id":"","url":"https://api.github.com/users/laurencefass","html_url":"https://github.com/laurencefass","followers_url":"https://api.github.com/users/laurencefass/followers","following_url":"https://api.github.com/users/laurencefass/following{/other_user}","gists_url":"https://api.github.com/users/laurencefass/gists{/gist_id}","starred_url":"https://api.github.com/users/laurencefass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurencefass/subscriptions","organizations_url":"https://api.github.com/users/laurencefass/orgs","repos_url":"https://api.github.com/users/laurencefass/repos","events_url":"https://api.github.com/users/laurencefass/events{/privacy}","received_events_url":"https://api.github.com/users/laurencefass/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-01-30T17:31:13Z","updated_at":"2015-04-30T14:11:49Z","closed_at":"2015-03-22T07:44:06Z","body":"immediately after running \"mean init\" npm install is failing. the error is at the end of this text but ive included the entire install record... i havent included the npm debug log because it is huge. any help greatly appreciated.\r\n\r\nplease note on other installations npm install has passed and grunt has failed due to absence of express-session in mongodb. i dont know if these problems are related.\r\n\r\nroot@host101:/home/nodejs.server.com/meanioserver# ls\r\nbower.json  Gruntfile.js   LICENSE    node_modules  packages  README.md  tools\r\nconfig\t    karma.conf.js  mean.json  package.json  Procfile  server.js\r\n\r\nroot@host101:/home/nodejs.server.com/meanioserver# npm install\r\n\r\nnpm WARN engine meanio@0.7.1: wanted: {\"node\":\"0.10.x\",\"npm\":\"1.4.x\"} (current: {\"node\":\"0.10.36\",\"npm\":\"2.4.1\"})\r\n\r\n> meanio@0.7.1 preinstall /home/nodejs.server.com/meanioserver/node_modules/meanio\r\n> node ./scripts/preinstall\r\n\r\nnpm WARN engine mean-cli@0.9.19: wanted: {\"node\":\"0.10.x\",\"npm\":\"2.1.x\"} (current: {\"node\":\"0.10.36\",\"npm\":\"2.4.1\"})\r\n\r\n> mean-health@0.1.7 postinstall /home/nodejs.server.com/meanioserver/node_modules/meanio/node_modules/mean-health\r\n> node ./postinstall.js\r\n\r\n \r\n> mean-cli@0.9.19 preinstall /home/nodejs.server.com/meanioserver/node_modules/meanio/node_modules/mean-cli\r\n> node ./scripts/preinstall\r\n\r\n\\\r\n> meanio@0.7.1 postinstall /home/nodejs.server.com/meanioserver/node_modules/meanio\r\n> cd ./lib/core_modules/server && npm install && cd ../../..\r\n\r\nnpm WARN package.json server@ No description\r\nnpm WARN package.json server@ No repository field.\r\nnpm WARN package.json server@ No README data\r\nnpm ERR! Linux 3.2.0-4-amd64\r\nnpm ERR! argv \"node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! node v0.10.36\r\nnpm ERR! npm  v2.4.1\r\nnpm ERR! path /root/.npm/express/4.11.1/package\r\nnpm ERR! code EACCES\r\nnpm ERR! errno 3\r\n\r\nnpm ERR! Error: EACCES, mkdir '/root/.npm/express/4.11.1/package'\r\nnpm ERR!  { [Error: EACCES, mkdir '/root/.npm/express/4.11.1/package']\r\nnpm ERR!   errno: 3,\r\nnpm ERR!   code: 'EACCES',\r\nnpm ERR!   path: '/root/.npm/express/4.11.1/package',\r\nnpm ERR!   parent: 'server' }\r\nnpm ERR! \r\nnpm ERR! Please try running this command again as root/Administrator.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/nodejs.server.com/meanioserver/node_modules/meanio/lib/core_modules/server/npm-debug.log\r\nnpm ERR! Linux 3.2.0-4-amd64\r\nnpm ERR! argv \"node\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! node v0.10.36\r\nnpm ERR! npm  v2.4.1\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! meanio@0.7.1 postinstall: `cd ./lib/core_modules/server && npm install && cd ../../..`\r\nnpm ERR! Exit status 3\r\nnpm ERR! \r\nnpm ERR! Failed at the meanio@0.7.1 postinstall script 'cd ./lib/core_modules/server && npm install && cd ../../..'.\r\nnpm ERR! This is most likely a problem with the meanio package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     cd ./lib/core_modules/server && npm install && cd ../../..\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls meanio\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/nodejs.server.com/meanioserver/npm-debug.log\r\n"},"comment":{"url":"https://api.github.com/repos/linnovate/mean/issues/comments/97810922","html_url":"https://github.com/linnovate/mean/issues/1042#issuecomment-97810922","issue_url":"https://api.github.com/repos/linnovate/mean/issues/1042","id":97810922,"user":{"login":"lambertb","id":584042,"avatar_url":"https://avatars.githubusercontent.com/u/584042?v=3","gravatar_id":"","url":"https://api.github.com/users/lambertb","html_url":"https://github.com/lambertb","followers_url":"https://api.github.com/users/lambertb/followers","following_url":"https://api.github.com/users/lambertb/following{/other_user}","gists_url":"https://api.github.com/users/lambertb/gists{/gist_id}","starred_url":"https://api.github.com/users/lambertb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambertb/subscriptions","organizations_url":"https://api.github.com/users/lambertb/orgs","repos_url":"https://api.github.com/users/lambertb/repos","events_url":"https://api.github.com/users/lambertb/events{/privacy}","received_events_url":"https://api.github.com/users/lambertb/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T14:11:49Z","updated_at":"2015-04-30T14:11:49Z","body":"Solved it as well! Thanks @aaronroberson and @liorkesos "}}