{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2458","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2458/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2458/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2458/events","html_url":"https://github.com/angular/angular-cli/issues/2458","id":180440485,"number":2458,"title":"Installation problem","user":{"login":"koutoftimer","id":4004825,"avatar_url":"https://avatars.githubusercontent.com/u/4004825?v=3","gravatar_id":"","url":"https://api.github.com/users/koutoftimer","html_url":"https://github.com/koutoftimer","followers_url":"https://api.github.com/users/koutoftimer/followers","following_url":"https://api.github.com/users/koutoftimer/following{/other_user}","gists_url":"https://api.github.com/users/koutoftimer/gists{/gist_id}","starred_url":"https://api.github.com/users/koutoftimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koutoftimer/subscriptions","organizations_url":"https://api.github.com/users/koutoftimer/orgs","repos_url":"https://api.github.com/users/koutoftimer/repos","events_url":"https://api.github.com/users/koutoftimer/events{/privacy}","received_events_url":"https://api.github.com/users/koutoftimer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-01T06:00:33Z","updated_at":"2016-10-06T09:22:01Z","closed_at":null,"body":"### OS\r\n\r\n```\r\n$ lsb_release -a\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 16.04.1 LTS\r\nRelease:\t16.04\r\nCodename:\txenial\r\n```\r\n\r\n### Steps to reproduce\r\n\r\n```\r\nsudo apt-get install nodejs npm\r\nsudo npm install -g n\r\nsudo n lts\r\nsudo npm install -g angular-cli\r\n```\r\n\r\n### The log given by the failure.\r\n\r\n```\r\nnpm ERR! registry error parsing json\r\n \r\n> node-zopfli@2.0.1 install /usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli\r\n> node-pre-gyp install --fallback-to-build\r\n\r\nnode-pre-gyp ERR! Tried to download: https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.1-node-v46-linux-x64.tar.gz \r\nnode-pre-gyp ERR! Pre-built binaries not found for node-zopfli@2.0.1 and node@4.6.0 (node-v46 ABI) (falling back to source compile with node-gyp) \r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/home/ruslan/.node-gyp/4.6.0\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli/.node-gyp\"\r\nmake: Entering directory '/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli/build'\r\nmake: *** No rule to make target '../.node-gyp/4.6.0/include/node/common.gypi', needed by 'Makefile'.  Stop.\r\nmake: Leaving directory '/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Linux 4.4.0-38-generic\r\ncommand \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpa\r\nck-plugin/node_modules/node-zopfli/lib/binding/node-v46-linux-x64/zopfli.node\" \"--module_name=zopfli\" \"--module_path=/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/no\r\nde-zopfli/lib/binding/node-v46-linux-x64\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli\r\ngyp ERR! node -v v4.6.0\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok \r\nnode-pre-gyp ERR! build error \r\nnode-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/angular-c\r\nli/node_modules/compression-webpack-plugin/node_modules/node-zopfli/lib/binding/node-v46-linux-x64/zopfli.node --module_name=zopfli --module_path=/usr/local/lib/node_modules/angular-cli/node_modules/compression-w\r\nebpack-plugin/node_modules/node-zopfli/lib/binding/node-v46-linux-x64' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli/node_modules/node-pre-gyp/lib/util/compile.js:83:2\r\n9)\r\nnode-pre-gyp ERR! stack     at emitTwo (events.js:87:13)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\nnode-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:829:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\nnode-pre-gyp ERR! System Linux 4.4.0-38-generic\r\nnode-pre-gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-b\r\nuild\"\r\nnode-pre-gyp ERR! cwd /usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node-zopfli\r\nnode-pre-gyp ERR! node -v v4.6.0\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.30\r\nnode-pre-gyp ERR! not ok \r\nFailed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/angular-cli/node_modules/compression-web\r\npack-plugin/node_modules/node-zopfli/lib/binding/node-v46-linux-x64/zopfli.node --module_name=zopfli --module_path=/usr/local/lib/node_modules/angular-cli/node_modules/compression-webpack-plugin/node_modules/node\r\n-zopfli/lib/binding/node-v46-linux-x64' (1)\r\nnpm WARN optional dep failed, continuing fsevents@1.0.14\r\nnpm WARN optional dep failed, continuing node-zopfli@2.0.1\r\nnpm WARN deprecated lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0.\r\n/\r\n> node-sass@3.10.1 install /usr/local/lib/node_modules/angular-cli/node_modules/node-sass\r\n> node scripts/install.js\r\n\r\nStart downloading binary at https://github.com/sass/node-sass/releases/download/v3.10.1/linux-x64-46_binding.node\r\nBinary downloaded and installed at /usr/local/lib/node_modules/angular-cli/node_modules/node-sass/vendor/linux-x64-46/binding.node\r\n\r\n> node-sass@3.10.1 postinstall /usr/local/lib/node_modules/angular-cli/node_modules/node-sass\r\n> node scripts/build.js\r\n\r\n\"/usr/local/lib/node_modules/angular-cli/node_modules/node-sass/vendor/linux-x64-46/binding.node\" exists. \r\n testing binary.\r\nBinary is fine; exiting.\r\n/usr/local/bin/ng -> /usr/local/lib/node_modules/angular-cli/bin/ng\r\nnpm ERR! Linux 4.4.0-38-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"angular-cli\"\r\nnpm ERR! node v4.6.0\r\nnpm ERR! npm  v2.15.9\r\nnpm ERR! code EPEERINVALID\r\n\r\nnpm ERR! peerinvalid The package webpack@2.1.0-beta.22 does not satisfy its siblings' peerDependencies requirements!\r\nnpm ERR! peerinvalid Peer html-webpack-plugin@2.22.0 wants webpack@*\r\nnpm ERR! peerinvalid Peer karma-webpack@1.8.0 wants webpack@^1.1.0 || ^2 || ^2.1.0-beta\r\nnpm ERR! peerinvalid Peer sass-loader@3.2.3 wants webpack@^1.12.6 || ^2.1.0-beta\r\nnpm ERR! peerinvalid Peer string-replace-loader@1.0.5 wants webpack@1 || 2 || ^2.0.0-beta || ^2.1.0-beta\r\nnpm ERR! peerinvalid Peer webpack-dev-server@2.1.0-beta.3 wants webpack@^2.1.0-beta\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /tmp/npm-debug.log\r\n```\r\n\r\n[npm-debug.log.zip](https://github.com/angular/angular-cli/files/504114/npm-debug.log.zip)"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/251910472","html_url":"https://github.com/angular/angular-cli/issues/2458#issuecomment-251910472","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2458","id":251910472,"user":{"login":"koutoftimer","id":4004825,"avatar_url":"https://avatars.githubusercontent.com/u/4004825?v=3","gravatar_id":"","url":"https://api.github.com/users/koutoftimer","html_url":"https://github.com/koutoftimer","followers_url":"https://api.github.com/users/koutoftimer/followers","following_url":"https://api.github.com/users/koutoftimer/following{/other_user}","gists_url":"https://api.github.com/users/koutoftimer/gists{/gist_id}","starred_url":"https://api.github.com/users/koutoftimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koutoftimer/subscriptions","organizations_url":"https://api.github.com/users/koutoftimer/orgs","repos_url":"https://api.github.com/users/koutoftimer/repos","events_url":"https://api.github.com/users/koutoftimer/events{/privacy}","received_events_url":"https://api.github.com/users/koutoftimer/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T09:22:01Z","updated_at":"2016-10-06T09:22:01Z","body":"@ptomaszi my question was about installing `angular-cli` package for nodejs. You are asking about using CLI, about its command `install`. From this position you can not have \r\n> the same issue"}}
{"actor":{"display_login":"koutoftimer"}}