angular - Unable to do npm install for angular2 project -
i trying create application .net , angular2.
when npm install following error
npm error comes on many lines saying npm err! how create angular2 app success full npm install
i have
package.json
follows
{ "name": "angular-quickstart", "version": "1.0.0", "scripts": { "start": "tsc && concurrently \"tsc -w\" \"lite-server\" ", "lite": "lite-server", "tsc": "tsc", "tsc:w": "tsc -w" }, "licenses": [ { "type": "mit", "url": "https://github.com/angular/angular.io/blob/master/license" } ], "dependencies": { "@angular/common": "~2.1.1", "@angular/compiler": "~2.1.1", "@angular/core": "~2.1.1", "@angular/forms": "~2.1.1", "@angular/http": "~2.1.1", "@angular/platform-browser": "~2.1.1", "@angular/platform-browser-dynamic": "~2.1.1", "@angular/router": "~3.1.1", "@angular/upgrade": "~2.1.1", "angular-in-memory-web-api": "~0.1.13", "core-js": "^2.4.1", "reflect-metadata": "^0.1.8", "rxjs": "5.0.0-beta.12", "systemjs": "0.19.39", "zone.js": "^0.6.25" }, "devdependencies": { "@types/core-js": "^0.9.34", "@types/node": "^6.0.45", "concurrently": "^3.0.0", "lite-server": "^2.2.2", "typescript": "^2.0.3" } }
check node js version using node -v
, npm using npm -v
version require node v4.x.x or higher , npm 3.x.x or higher
if not installed latest nodejs here
and npm try
npm install npm@latest -g
then install packages listed in package.json command
npm install
Comments
Post a Comment