2016-06-10 24 views
5
{ 
    "name": "angular2-quickstart", 
    "version": "1.0.0", 
    "scripts": { 
     "start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ", 
     "lite": "lite-server", 
     "postinstall": "typings install", 
     "tsc": "tsc", 
     "tsc:w": "tsc -w", 
     "typings": "typings" 
     }, 
     "license": "ISC", 
     "dependencies": { 
      "@angular/common": "2.0.0-rc.1", 
      "@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", 
      "@angular/router-deprecated": "2.0.0-rc.1", 
      "@angular/upgrade": "2.0.0-rc.1", 
      "es6-shim": "^0.33.3", 
      "font-awesome": "^4.6.1", 
      "jquery": "^2.2.3", 
      "lodash": "^4.13.1", 
      "reflect-metadata": "0.1.2", 
      "rxjs": "5.0.0-beta.6", 
      "systemjs": "^0.19.29", 
      "zone.js": "^0.6.12" 
      }, 
      "devDependencies": { 
       "concurrently": "^2.0.0", 
       "lite-server": "^2.2.0", 
       "typescript": "^1.8.10", 
       "typings":"^1.0.4" 
      } 
     } 

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C: \ Programmi \ nodejs \ node.exe" "C: \ Programmi \ nodejs \ node_modules \ npm \ bin \ npm-cli.js" "installa" npm ERR! nodo v0.12.0 npm ERR! npm v2.5.1 npm ERR! codice EPEERINVALIDottenere l'errore di dipendenza angolare 2 App

npm ERR! peerinvalid Il pacchetto reflect-metadata non soddisfa i requisiti peerDependencies dei suoi fratelli! npm ERR! peerinvalid Peer [email protected] vuole [email protected]^0.1.3 npm ERR! peerinvalid Peer [email protected] vuole [email protected]

+0

Hai già fatto un "aggiornamento npm"? Sembra che tu abbia installato la versione 0.1.3 –

+0

Usa [** questi file di avviamento **] (https://github.com/aravindfz/firstAngular4App) – Aravind

risposta

0

Aggiornamento a Node.JS v6.9 + e NPM v3.x e aggiornamento dei metadati di riflessione a 0.1.3 come indicato.