{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/7530","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/7530/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/7530/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/7530/events","html_url":"https://github.com/angular/angular-cli/issues/7530","id":253550188,"number":7530,"title":"Error : Cannot find module 'abbrev'. Unable to create project using npm","user":{"login":"Karan1458","id":7886431,"avatar_url":"https://avatars2.githubusercontent.com/u/7886431?v=4","gravatar_id":"","url":"https://api.github.com/users/Karan1458","html_url":"https://github.com/Karan1458","followers_url":"https://api.github.com/users/Karan1458/followers","following_url":"https://api.github.com/users/Karan1458/following{/other_user}","gists_url":"https://api.github.com/users/Karan1458/gists{/gist_id}","starred_url":"https://api.github.com/users/Karan1458/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karan1458/subscriptions","organizations_url":"https://api.github.com/users/Karan1458/orgs","repos_url":"https://api.github.com/users/Karan1458/repos","events_url":"https://api.github.com/users/Karan1458/events{/privacy}","received_events_url":"https://api.github.com/users/Karan1458/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-29T07:12:10Z","updated_at":"2018-02-10T18:48:34Z","closed_at":"2017-09-04T15:00:37Z","author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report \r\n```\r\n- [ ] bug report : Unable to create AngularJS Projects under linux system.\r\n```\r\n\r\n### Versions.\r\nNPM : 5.3.0\r\nNODE: 7.10.1\r\nOS : (Linux) Ubuntu 17.10 ( 4.12.0-11-generic )\r\n\r\n### Repro steps.\r\n1. Adding PPA : curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -\r\n2. Installing Nodejs : $sudo apt install nodejs\r\n3. Installing build tools : $sudo apt install build-essential\r\n4. Update npm to latest : $sudo npm install npm@latest -g\r\n5. Installing Angular : $sudo npm install -g @angular/cli\r\n5. Then creating project : $ng new my-app\r\n\r\nSimply installed the angual\r\n<!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n\r\n\r\n### The log given by the failure.\r\n<!-- Normally this include a stack trace and some more information. -->\r\n`$ ng new my-app\r\nmodule.js:472\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'abbrev'\r\n    at Function.Module._resolveFilename (module.js:470:15)\r\n    at Function.Module._load (module.js:418:25)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/@angular/cli/node_modules/nopt/lib/nopt.js:10:14)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)`\r\n\r\n### Desired functionality.\r\n<!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nIt should create project simply.\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\r\n- Already searched the issues related to this, they are for different cases. Unable to sort out in my case.\r\n\r\n- Installing Nodejs : https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/364680017","html_url":"https://github.com/angular/angular-cli/issues/7530#issuecomment-364680017","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/7530","id":364680017,"user":{"login":"saidmaster","id":20688238,"avatar_url":"https://avatars3.githubusercontent.com/u/20688238?v=4","gravatar_id":"","url":"https://api.github.com/users/saidmaster","html_url":"https://github.com/saidmaster","followers_url":"https://api.github.com/users/saidmaster/followers","following_url":"https://api.github.com/users/saidmaster/following{/other_user}","gists_url":"https://api.github.com/users/saidmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/saidmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saidmaster/subscriptions","organizations_url":"https://api.github.com/users/saidmaster/orgs","repos_url":"https://api.github.com/users/saidmaster/repos","events_url":"https://api.github.com/users/saidmaster/events{/privacy}","received_events_url":"https://api.github.com/users/saidmaster/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T18:48:34Z","updated_at":"2018-02-10T18:48:34Z","author_association":"NONE","body":"npm install -g abbrev \r\nit works for me"}}
{"actor":{"display_login":"saidmaster"}}