0
パッケージのバージョンの混乱をパッケージ:NPMは、バージョンの競合
私はNPMの初心者だとイオン2のアプリケーションを作成するために苦労してきました。私はこれらのパッケージのすべてのバージョンの競合を解決する方法を理解できません。私が実行した画像のコマンドの前に、node_modules、npm cache clean、npm unpdate -g npm、npm installのクリーンアップが実行されました。あなたの提案のための
{
"name": "io.cordova.myappb7116d",
"author": "",
"homepage": "",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.2.1",
"@angular/compiler": "2.2.1",
"@angular/compiler-cli": "2.2.1",
"@angular/core": "2.2.1",
"@angular/forms": "2.2.1",
"@angular/http": "2.2.1",
"@angular/platform-browser": "2.2.1",
"@angular/platform-browser-dynamic": "2.2.1",
"@angular/platform-server": "2.2.1",
"@ionic-native/core": "^3.1.0",
"@ionic-native/http": "^3.4.4",
"@ionic-native/native-storage": "^3.4.4",
"ionic-angular": "2.0.0-rc.4",
"ionic-native": "2.2.11",
"ionicons": "3.0.0",
"localforage-cordovasqlitedriver": "^1.6.0",
"npm-install-version": "^6.0.1",
"rxjs": "^5.0.1",
"sw-toolbox": "^3.6.0",
"uuid": "^3.0.1",
"zone.js": "0.6.26"
},
"devDependencies": {
"@ionic/app-scripts": "^1.1.4",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"cordova-plugin-device",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [],
"-vs-binding": {
"BeforeBuild": [
"ionic:build"
]
}
}
あなたのpackage.jsonを質問に追加してください... –
あなたはまだRC4にあります。私はあなたがchangelogでionicが言うようにパッケージjsonをアップデートしてから、すべてをインストールしようとします –