{"action":"created","issue":{"url":"https://api.github.com/repos/joemccann/dillinger/issues/538","repository_url":"https://api.github.com/repos/joemccann/dillinger","labels_url":"https://api.github.com/repos/joemccann/dillinger/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/joemccann/dillinger/issues/538/comments","events_url":"https://api.github.com/repos/joemccann/dillinger/issues/538/events","html_url":"https://github.com/joemccann/dillinger/issues/538","id":154185132,"number":538,"title":"Error during install #phantomjs","user":{"login":"shark-oxi","id":16578570,"avatar_url":"https://avatars.githubusercontent.com/u/16578570?v=3","gravatar_id":"","url":"https://api.github.com/users/shark-oxi","html_url":"https://github.com/shark-oxi","followers_url":"https://api.github.com/users/shark-oxi/followers","following_url":"https://api.github.com/users/shark-oxi/following{/other_user}","gists_url":"https://api.github.com/users/shark-oxi/gists{/gist_id}","starred_url":"https://api.github.com/users/shark-oxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shark-oxi/subscriptions","organizations_url":"https://api.github.com/users/shark-oxi/orgs","repos_url":"https://api.github.com/users/shark-oxi/repos","events_url":"https://api.github.com/users/shark-oxi/events{/privacy}","received_events_url":"https://api.github.com/users/shark-oxi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-05-11T08:15:35Z","updated_at":"2016-05-13T17:24:55Z","closed_at":null,"body":"Hi, I got an error during the install : \r\n```\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /var/www/dillinger/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```\r\n\r\nso here is the end of  `/var/www/dillinger/npm-debug.log` : \r\n```\r\n99170 silly gunzTarPerm extractEntry build/test-prefix.js\r\n99171 silly gunzTarPerm extractEntry build/test-suffix.js\r\n99172 error phantomjs@1.9.20 install: `node install.js`\r\n99172 error Exit status 127\r\n99173 error Failed at the phantomjs@1.9.20 install script.\r\n99173 error This is most likely a problem with the phantomjs package,\r\n99173 error not with npm itself.\r\n99173 error Tell the author that this fails on your system:\r\n99173 error     node install.js\r\n99173 error You can get their info via:\r\n99173 error     npm owner ls phantomjs\r\n99173 error There is likely additional logging output above.\r\n99174 error System Linux 3.16.0-4-amd64\r\n99175 error command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"i\" \"-d\"\r\n99176 error cwd /var/www/dillinger\r\n99177 error node -v v0.10.29\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/joemccann/dillinger/issues/comments/219106707","html_url":"https://github.com/joemccann/dillinger/issues/538#issuecomment-219106707","issue_url":"https://api.github.com/repos/joemccann/dillinger/issues/538","id":219106707,"user":{"login":"shark-oxi","id":16578570,"avatar_url":"https://avatars.githubusercontent.com/u/16578570?v=3","gravatar_id":"","url":"https://api.github.com/users/shark-oxi","html_url":"https://github.com/shark-oxi","followers_url":"https://api.github.com/users/shark-oxi/followers","following_url":"https://api.github.com/users/shark-oxi/following{/other_user}","gists_url":"https://api.github.com/users/shark-oxi/gists{/gist_id}","starred_url":"https://api.github.com/users/shark-oxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shark-oxi/subscriptions","organizations_url":"https://api.github.com/users/shark-oxi/orgs","repos_url":"https://api.github.com/users/shark-oxi/repos","events_url":"https://api.github.com/users/shark-oxi/events{/privacy}","received_events_url":"https://api.github.com/users/shark-oxi/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T17:24:55Z","updated_at":"2016-05-13T17:24:55Z","body":"```\r\nnpm --version\r\n3.9.0\r\n```\r\n\r\nand now tried again : \r\n```\r\n$ sudo npm install temp\r\nos-tmpdir@1.0.1 node_modules/temp/node_modules/os-tmpdir -> node_modules/os-tmpdir\r\nrimraf@2.2.8 node_modules/temp/node_modules/rimraf -> node_modules/rimraf\r\nnpm WARN optional Skipping failed optional dependency /karma/chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12\r\nnpm WARN optional Skipping failed optional dependency /markdown-it-math/ascii2mathml/babel/chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12\r\nnpm WARN optional Skipping failed optional dependency /webpack/watchpack/chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12\r\n\r\n$ sudo nodejs app\r\nDropbox config not found at /var/www/dillinger/plugins/dropbox/dropbox-config.json. Plugin disabled.\r\nGithub config not found at /var/www/dillinger/plugins/github/github-config.json. Plugin disabled.\r\nGoogle Drive config not found at /var/www/dillinger/plugins/googledrive/googledrive-config.json. Plugin disabled.\r\nOneDrive config not found at /var/www/dillinger/plugins/onedrive/onedrive-config.json. Plugin disabled.\r\nmodule.js:327\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'phantom'\r\n    at Function.Module._resolveFilename (module.js:325:15)\r\n    at Function.Module._load (module.js:276:25)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/var/www/dillinger/plugins/core/server.js:7:15)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n\r\n$ sudo npm i phantomjs\r\nnpm ERR! Linux 3.16.0-4-amd64\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"i\" \"phsudo\" \"npm\" \"i\" \"phantomjs\"\r\nnpm ERR! node v4.4.4\r\nnpm ERR! npm  v3.9.0\r\nnpm ERR! code E404\r\n\r\nnpm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/phsudo\r\nnpm ERR! 404 \r\nnpm ERR! 404  'phsudo' is not in the npm registry.\r\nnpm ERR! 404 You should bug the author to publish it (or use the name yourself!)\r\nnpm ERR! 404 \r\nnpm ERR! 404 Note that you can also install from a\r\nnpm ERR! 404 tarball, folder, http url, or git url.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /var/www/dillinger/npm-debug.log\r\n```\r\n\r\nSo here is the log file : https://gist.github.com/shark-oxi/171f02d765075c923decc93155dc9a9d"}}