{"action":"created","issue":{"url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin/issues/117","repository_url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin","labels_url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin/issues/117/comments","events_url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin/issues/117/events","html_url":"https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/117","id":254188251,"number":117,"title":"Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script 'node lib/post_install.js'.","user":{"login":"markfaine","id":949949,"avatar_url":"https://avatars2.githubusercontent.com/u/949949?v=4","gravatar_id":"","url":"https://api.github.com/users/markfaine","html_url":"https://github.com/markfaine","followers_url":"https://api.github.com/users/markfaine/followers","following_url":"https://api.github.com/users/markfaine/following{/other_user}","gists_url":"https://api.github.com/users/markfaine/gists{/gist_id}","starred_url":"https://api.github.com/users/markfaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfaine/subscriptions","organizations_url":"https://api.github.com/users/markfaine/orgs","repos_url":"https://api.github.com/users/markfaine/repos","events_url":"https://api.github.com/users/markfaine/events{/privacy}","received_events_url":"https://api.github.com/users/markfaine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-08-31T02:11:30Z","updated_at":"2018-04-09T10:39:22Z","closed_at":"2017-08-31T13:27:43Z","author_association":"NONE","body":"npm -v\r\n4.2.0\r\nnode -v \r\nv7.10.1\r\n\r\n$ sudo npm install -g  '@'angular/cli\r\n\r\n\r\n```\r\n/usr/bin/ng -> /usr/lib/node_modules/@angular/cli/bin/ng\r\n\r\n node-sass@4.5.3 install /usr/lib/node_modules/@angular/cli/node_modules/node-sass\r\n node scripts/install.js\r\n\r\nmodule.js:472\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/usr/lib/node_modules/@angular/cli/node_modules/node-sass/scripts/install.js'\r\n    at Function.Module._resolveFilename (module.js:470:15)\r\n    at Function.Module._load (module.js:418:25)\r\n    at Module.runMain (module.js:605:10)\r\n    at run (bootstrap_node.js:427:7)\r\n    at startup (bootstrap_node.js:151:9)\r\n    at bootstrap_node.js:542:3\r\n\r\nuglifyjs-webpack-plugin@0.4.6 postinstall /usr/lib/node_modules/@angular/cli/node_modules/uglifyjs-webpack-plugin\r\nnode lib/post_install.js\r\n\r\nmodule.js:472\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '/usr/lib/node_modules/@angular/cli/node_modules/uglifyjs-webpack-plugin/lib/post_install.js'\r\n    at Function.Module._resolveFilename (module.js:470:15)\r\n    at Function.Module._load (module.js:418:25)\r\n    at Module.runMain (module.js:605:10)\r\n    at run (bootstrap_node.js:427:7)\r\n    at startup (bootstrap_node.js:151:9)\r\n    at bootstrap_node.js:542:3\r\n/usr/lib\r\n└── (empty)\r\n\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/@angular/cli/node_modules/chokidar/node_modules/fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"linux\",\"arch\":\"x64\"})\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.5.3 (node_modules/@angular/cli/node_modules/node-sass):\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.5.3 install: `node scripts/install.js`\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1\r\nnpm ERR! Linux 4.10.0-33-generic\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"-g\" \"@angular/cli\"\r\nnpm ERR! node v7.10.1\r\nnpm ERR! npm  v4.2.0\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\n\r\nnpm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: `node lib/post_install.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script 'node lib/post_install.js'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the uglifyjs-webpack-plugin package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node lib/post_install.js\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs uglifyjs-webpack-plugin\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls uglifyjs-webpack-plugin\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/mark/.npm/_logs/2017-08-31T01_59_46_840Z-debug.log\r\n\r\n[2017-08-31T01_59_46_840Z-debug.txt](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/files/1265564/2017-08-31T01_59_46_840Z-debug.txt)\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin/issues/comments/379709584","html_url":"https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/117#issuecomment-379709584","issue_url":"https://api.github.com/repos/webpack-contrib/uglifyjs-webpack-plugin/issues/117","id":379709584,"user":{"login":"bichomen","id":20316285,"avatar_url":"https://avatars0.githubusercontent.com/u/20316285?v=4","gravatar_id":"","url":"https://api.github.com/users/bichomen","html_url":"https://github.com/bichomen","followers_url":"https://api.github.com/users/bichomen/followers","following_url":"https://api.github.com/users/bichomen/following{/other_user}","gists_url":"https://api.github.com/users/bichomen/gists{/gist_id}","starred_url":"https://api.github.com/users/bichomen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bichomen/subscriptions","organizations_url":"https://api.github.com/users/bichomen/orgs","repos_url":"https://api.github.com/users/bichomen/repos","events_url":"https://api.github.com/users/bichomen/events{/privacy}","received_events_url":"https://api.github.com/users/bichomen/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T10:39:22Z","updated_at":"2018-04-09T10:39:22Z","author_association":"NONE","body":"I have the same problem:\r\n\r\n`npm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: `node lib/post_install.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /root/.npm/_logs/2018-04-09T10_35_46_942Z-debug.log\r\n`\r\nUname: 4.4.0-83-generic #106~14.04.1+7.0trisquel1\r\nnode v9.11.1\r\nnpm 5.6.0\r\nnpm i -D uglifyjs-webpack-plugin@beta installed\r\n"}}
{"actor":{"display_login":"bichomen"}}