ionic2 - invalid name @angular/common : npm -


i trying ionic2, getting error while trying install default npm packages ionic2. tried run following command , getting error below:

npm install @angular/common like here

enter image description here

also tried this solution getting same error.

package.json file content:

{   "dependencies": {     "@angular/compiler": "^2.0.0-rc.1",     "@angular/core": "^2.0.0-rc.1",     "@angular/http": "^2.0.0-rc.1",     "@angular/platform-browser": "^2.0.0-rc.1",     "@angular/platform-browser-dynamic": "^2.0.0-rc.1",     "@angular/router": "^2.0.0-rc.1",     "es6-shim": "^0.35.0",     "ionic-angular": "2.0.0-beta.7",     "ionic-native": "^1.1.0",     "ionicons": "3.0.0",     "reflect-metadata": "^0.1.3",     "rxjs": "5.0.0-beta.6",     "zone.js": "^0.6.12"   },   "devdependencies": {     "del": "2.2.0",     "gulp": "3.9.1",     "gulp-watch": "4.3.5",     "ionic-gulp-browserify-es2015": "^1.1.0",     "ionic-gulp-fonts-copy": "^1.0.0",     "ionic-gulp-html-copy": "^1.0.0",     "ionic-gulp-sass-build": "^1.0.0",     "ionic-gulp-scripts-copy": "^2.0.0",     "run-sequence": "1.1.5"   } } 

try command

npm install -g npm 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -