2017-02-24 65 views
0

我想升級我的離子版本。所以我只是跑離子添加平臺android/ios:無法找到模塊配置鏈

NPM安裝-g離子科爾多瓦

似乎安裝成功。但是當我運行

離子添加Android平臺/ IOS

它顯示找不到模塊配置鏈。所以。我只需按照說明進行操作並安裝config-chain模塊。而另一個模塊只是過來:(。所以和so..after安裝約10的模塊。這表明也許這可以是一個連接問題,或平臺的規格是不正確...

哦〜人顯示出來幫我!?謝謝~~~

@suraj我的package.json:

"dependencies": { 
    }, 
    "devDependencies": { 
    "bower": "^1.3.3", 
    "del": "^1.1.1", 
    "gulp": "^3.5.6", 
    "gulp-angular-templatecache": "^2.0.0", 
    "gulp-autoprefixer": "^3.1.1", 
    "gulp-bytediff": "^1.0.0", 
    "gulp-concat": "^2.2.0", 
    "gulp-csso": "^2.0.0", 
    "gulp-filter": "^4.0.0", 
    "gulp-flatten": "^0.3.1", 
    "gulp-header": "^1.8.8", 
    "gulp-if": "^2.0.2", 
    "gulp-imagemin": "^3.1.1", 
    "gulp-inject": "^4.2.0", 
    "gulp-load-plugins": "^1.4.0", 
    "gulp-minify-css": "^0.3.0", 
    "gulp-minify-html": "^1.0.6", 
    "gulp-ng-annotate": "^2.0.0", 
    "gulp-order": "^1.1.1", 
    "gulp-plumber": "^1.1.0", 
    "gulp-protractor": "^3.0.0", 
    "gulp-rename": "^1.2.0", 
    "gulp-rev": "^7.1.2", 
    "gulp-rev-replace": "^0.4.3", 
    "gulp-sass": "^2.0.4", 
    "gulp-sourcemaps": "^1.9.1", 
    "gulp-task-listing": "^1.0.1", 
    "gulp-uglify": "^2.0.0", 
    "gulp-useref": "^3.1.2", 
    "gulp-util": "^2.2.14", 
    "gulp-watch": "^4.3.11", 
    "jasmine-core": "^2.5.2", 
    "karma": "^1.3.0", 
    "karma-chrome-launcher": "^2.0.0", 
    "karma-coverage": "^1.1.1", 
    "karma-jasmine": "^1.1.0", 
    "karma-junit-reporter": "^1.2.0", 
    "karma-mocha-reporter": "^2.2.1", 
    "protractor": "^4.0.14", 
    "run-sequence": "^1.2.2", 
    "shelljs": "^0.3.0", 
    "wiredep": "^4.0.0", 
    "yargs": "^6.5.0" 
    }, 
    "cordovaPlugins": [ 
    "cordova-plugin-device", 
    "cordova-plugin-console", 
    "cordova-plugin-whitelist", 
    "cordova-plugin-splashscreen", 
    "cordova-plugin-statusbar", 
    "ionic-plugin-keyboard" 
    ], 
    "cordovaPlatforms": [] 
+0

你能證明你的package.json在題? –

+0

我已經添加了我的package.json。請看一看。謝謝 –

+0

'npm cache clean'工作嗎? –

回答

1

config-chain是NPM的依賴,所以有機會,你NPM安裝壞

嘗試重新安裝,或使用之一NPM叉如果NPM本身不安裝在您的系統因爲某些原因

參考reinstall npm

+0

因此它是'npm重新安裝-g npm'? –

+0

npm install重裝-g –

+0

哦好的..謝謝你的信息 –

相關問題