我想升级我的离子版本。所以我只是跑
NPM安装-G离子Cordova
似乎已成功安装。但是当我运行
时离子添加平台android/ios
它显示找不到模块config-chain 。所以。我只是按照说明进行操作,然后安装 config-chain 模块。另一个模块刚刚出现:(。所以。strong>。
哦〜任何人出现在帮助我!?谢谢~~~
@suraj我的软件包:
"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": []
config-chain
是npm依赖性,因此您的NPM安装很可能被损坏。
尝试重新安装,或使用 npm forks之一,如果由于某种原因在系统上不可安装 forks
参考重新安装NPM