{"action":"created","issue":{"url":"https://api.github.com/repos/bevry/ambi/issues/3","labels_url":"https://api.github.com/repos/bevry/ambi/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bevry/ambi/issues/3/comments","events_url":"https://api.github.com/repos/bevry/ambi/issues/3/events","html_url":"https://github.com/bevry/ambi/issues/3","id":46145291,"number":3,"title":"npm ERR! Failed at the ambi@2.2.0 preinstall script","user":{"login":"brianzelip","id":3411019,"avatar_url":"https://avatars.githubusercontent.com/u/3411019?v=3","gravatar_id":"","url":"https://api.github.com/users/brianzelip","html_url":"https://github.com/brianzelip","followers_url":"https://api.github.com/users/brianzelip/followers","following_url":"https://api.github.com/users/brianzelip/following{/other_user}","gists_url":"https://api.github.com/users/brianzelip/gists{/gist_id}","starred_url":"https://api.github.com/users/brianzelip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianzelip/subscriptions","organizations_url":"https://api.github.com/users/brianzelip/orgs","repos_url":"https://api.github.com/users/brianzelip/repos","events_url":"https://api.github.com/users/brianzelip/events{/privacy}","received_events_url":"https://api.github.com/users/brianzelip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-10-17T21:16:50Z","updated_at":"2015-01-19T11:57:24Z","closed_at":"2014-12-12T02:49:32Z","body":"Got the following error when installing [DocPad v6.69](https://docpad.org). Btw `sudo` was used for install.\r\n\r\nnode.js:815\r\n    var cwd = process.cwd();\r\n                      ^\r\nError: EACCES, permission denied\r\n    at Function.startup.resolveArgv0 (node.js:815:23)\r\n    at startup (node.js:58:13)\r\n    at node.js:906:3\r\nnpm ERR! ambi@2.2.0 preinstall: `node ./cyclic.js`\r\nnpm ERR! Exit status 8\r\nnpm ERR!\r\nnpm ERR! Failed at the ambi@2.2.0 preinstall script.\r\nnpm ERR! This is most likely a problem with the ambi package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node ./cyclic.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls ambi\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! System Darwin 13.4.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"docpad@6.69\"\r\nnpm ERR! cwd /Users/brianzelip/Sites/sandbox/docpad\r\nnpm ERR! node -v v0.10.32\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! not ok code 0\r\n"},"comment":{"url":"https://api.github.com/repos/bevry/ambi/issues/comments/70482516","html_url":"https://github.com/bevry/ambi/issues/3#issuecomment-70482516","issue_url":"https://api.github.com/repos/bevry/ambi/issues/3","id":70482516,"user":{"login":"balupton","id":61148,"avatar_url":"https://avatars.githubusercontent.com/u/61148?v=3","gravatar_id":"","url":"https://api.github.com/users/balupton","html_url":"https://github.com/balupton","followers_url":"https://api.github.com/users/balupton/followers","following_url":"https://api.github.com/users/balupton/following{/other_user}","gists_url":"https://api.github.com/users/balupton/gists{/gist_id}","starred_url":"https://api.github.com/users/balupton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balupton/subscriptions","organizations_url":"https://api.github.com/users/balupton/orgs","repos_url":"https://api.github.com/users/balupton/repos","events_url":"https://api.github.com/users/balupton/events{/privacy}","received_events_url":"https://api.github.com/users/balupton/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T11:57:24Z","updated_at":"2015-01-19T11:57:24Z","body":"@tomekwi can you post the logs of what went wrong?\r\n\r\nThe script is necessary to fix cyclic dependencies in node."}}