{"action":"created","issue":{"url":"https://api.github.com/repos/madec-project/ezmaster/issues/3","labels_url":"https://api.github.com/repos/madec-project/ezmaster/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/madec-project/ezmaster/issues/3/comments","events_url":"https://api.github.com/repos/madec-project/ezmaster/issues/3/events","html_url":"https://github.com/madec-project/ezmaster/issues/3","id":110741230,"number":3,"title":"npm install issue","user":{"login":"adelpeuch","id":7147726,"avatar_url":"https://avatars.githubusercontent.com/u/7147726?v=3","gravatar_id":"","url":"https://api.github.com/users/adelpeuch","html_url":"https://github.com/adelpeuch","followers_url":"https://api.github.com/users/adelpeuch/followers","following_url":"https://api.github.com/users/adelpeuch/following{/other_user}","gists_url":"https://api.github.com/users/adelpeuch/gists{/gist_id}","starred_url":"https://api.github.com/users/adelpeuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelpeuch/subscriptions","organizations_url":"https://api.github.com/users/adelpeuch/orgs","repos_url":"https://api.github.com/users/adelpeuch/repos","events_url":"https://api.github.com/users/adelpeuch/events{/privacy}","received_events_url":"https://api.github.com/users/adelpeuch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-09T21:47:01Z","updated_at":"2015-10-13T13:05:11Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to use EZMaster and i've got an issue with npm install -g ezmaster.\r\nI can post you  /root/npm-debug.log if necessary.\r\n\r\nThanks for your help.\r\n\r\nThis is the error \r\n\r\nnpm WARN peerDependencies The peer dependency castor-clean@* included from ezmaster will no\r\nnpm WARN peerDependencies longer be automatically installed to fulfill the peerDependency \r\nnpm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.\r\nnpm WARN peerDependencies The peer dependency pm2@* included from ezmaster will no\r\nnpm WARN peerDependencies longer be automatically installed to fulfill the peerDependency \r\nnpm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.\r\n/root/.nvm/versions/node/v4.1.2/bin/castor-admin -> /root/.nvm/versions/node/v4.1.2/lib/node_modules/ezmaster/bin/admin\r\n/root/.nvm/versions/node/v4.1.2/bin/ezmaster -> /root/.nvm/versions/node/v4.1.2/lib/node_modules/ezmaster/bin/admin\r\n\r\n> ezmaster@1.1.3 postinstall /root/.nvm/versions/node/v4.1.2/lib/node_modules/ezmaster\r\n> node ./bin/init\r\n\r\nmodule.js:338\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/root/.nvm/versions/node/v4.1.2/lib/node_modules/ezmaster/bin/init'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:286:25)\r\n    at Function.Module.runMain (module.js:475:10)\r\n    at startup (node.js:118:18)\r\n    at node.js:952:3\r\nnpm ERR! Linux 3.16.0-4-amd64\r\nnpm ERR! argv \"/root/.nvm/versions/node/v4.1.2/bin/node\" \"/root/.nvm/versions/node/v4.1.2/bin/npm\" \"install\" \"-g\" \"ezmaster\"\r\nnpm ERR! node v4.1.2\r\nnpm ERR! npm  v2.14.4\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! ezmaster@1.1.3 postinstall: `node ./bin/init`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the ezmaster@1.1.3 postinstall script 'node ./bin/init'.\r\nnpm ERR! This is most likely a problem with the ezmaster package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node ./bin/init\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls ezmaster\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!     /root/npm-debug.log"},"comment":{"url":"https://api.github.com/repos/madec-project/ezmaster/issues/comments/147708537","html_url":"https://github.com/madec-project/ezmaster/issues/3#issuecomment-147708537","issue_url":"https://api.github.com/repos/madec-project/ezmaster/issues/3","id":147708537,"user":{"login":"adelpeuch","id":7147726,"avatar_url":"https://avatars.githubusercontent.com/u/7147726?v=3","gravatar_id":"","url":"https://api.github.com/users/adelpeuch","html_url":"https://github.com/adelpeuch","followers_url":"https://api.github.com/users/adelpeuch/followers","following_url":"https://api.github.com/users/adelpeuch/following{/other_user}","gists_url":"https://api.github.com/users/adelpeuch/gists{/gist_id}","starred_url":"https://api.github.com/users/adelpeuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelpeuch/subscriptions","organizations_url":"https://api.github.com/users/adelpeuch/orgs","repos_url":"https://api.github.com/users/adelpeuch/repos","events_url":"https://api.github.com/users/adelpeuch/events{/privacy}","received_events_url":"https://api.github.com/users/adelpeuch/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T13:05:11Z","updated_at":"2015-10-13T13:05:11Z","body":"Thanks for your answer.\n\nI try to change pm2 version and it take me a solution...\nIn root, i need to use --unsafe-perm parameter on npm command ant it's \nworking.\n\nThanks for your help.\n\n-- \nAlexandre Delpeuch\nResponsable du Service Outils Numériques\nDirection du Système d'Information\nUniversite de Limoges\n123 Avenue Albert Thomas\n87060 Limoges Cedex\ntél : 05 55 08 08 10\nNum de poste : 38 10\nSite web : http://www.unilim.fr/dsi\n\n\n\nLe 12/10/2015 14:32, François Parmentier a écrit :\n>\n> Oh. As you work in root directory, maybe it's just rights problem?\n> I suggest a\n>\n> $ ls -l /root/.nvm/versions/node/v4.1.2/lib/node_modules/ezmaster/bin/init\n>\n> Maybe you need to prefix your npm commands with |sudo|?\n>\n> —\n> Reply to this email directly or view it on GitHub \n> <https://github.com/madec-project/ezmaster/issues/3#issuecomment-147382939>.Web \n> Bug from \n> https://github.com/notifications/beacon/AG0Qzp5Tu-V4YXJYvu1Jxpotd42NBpoXks5o65_AgaJpZM4GMaSU.gif\n>\n\n\n"}}