Nativescript-angular2 : The package @angular/common@2.0.0 does not satisfy its siblings' peerDependencies requirements -
i error message when run app :
unable install dependencies. make sure package.json valid , dependencies correct. error is: package @angular/common@2.0.0 not satisfy siblings' peerdependencies requirements!
here package.json:
{ "name": "groceries", "version": "1.0.0", "description": "a nativescript-built ios , android app managing grocery lists", "repository": { "type": "git", "url": "https://github.com/nativescript/sample-groceries.git" }, "keywords": [ "nativescript" ], "author": "tj vantoll <tj.vantoll@gmail.com> (http://tjvantoll.com/)", "license": "mit", "bugs": { "url": "https://github.com/nativescript/sample-groceries/issues" }, "homepage": "https://github.com/nativescript/sample-groceries/groceries", "nativescript": { "id": "org.nativescript.groceries", "tns-ios": { "version": "2.3.0" }, "tns-android": { "version": "2.3.0" } }, "dependencies": { "@angular/common": "2.0.0", "@angular/compiler": "2.0.0", "@angular/core": "2.0.0", "@angular/http": "2.0.0", "@angular/platform-browser": "2.0.0", "@angular/platform-browser-dynamic": "2.0.0", "@angular/platform-server": "2.0.0", "@angular/router": "3.0.0", "firebase": "^3.6.0", "moment": "^2.15.2", "nativescript-angular": "1.0.0", "nativescript-socketio": "^2.2.9", "reflect-metadata": "0.1.8", "rxjs": "5.0.0-beta.12", "tns-core-modules": "2.3.0" }, "devdependencies": { "babel-traverse": "6.7.6", "babel-types": "6.7.7", "babylon": "6.7.0", "filewalker": "0.1.2", "lazy": "1.0.11", "nativescript-dev-typescript": "^0.3.2", "typescript": "^1.8.10", "zone.js": "0.6.21" } }
Comments
Post a Comment