更该页面热更新出错
来源:4-1 使用 Ionic CLI 进行项目的初始化构建
Revy334
2017-12-19
6回答
-
qq_風華亂舞_0
2018-01-09
把这个package.json复制了,然后删除了node_modules 重新npm install 就好了。
{
"name": "myApp",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "5.0.3",
"@angular/compiler": "5.0.3",
"@angular/compiler-cli": "5.0.3",
"@angular/core": "5.0.3",
"@angular/forms": "5.0.3",
"@angular/http": "5.0.3",
"@angular/platform-browser": "5.0.3",
"@angular/platform-browser-dynamic": "5.0.3",
"@ionic-native/app-version": "^4.5.2",
"@ionic-native/camera": "^4.4.2",
"@ionic-native/core": "4.4.0",
"@ionic-native/file": "^4.4.2",
"@ionic-native/file-path": "^4.4.2",
"@ionic-native/qr-scanner": "^4.5.2",
"@ionic-native/splash-screen": "4.4.0",
"@ionic-native/status-bar": "4.4.0",
"@ionic-native/transfer": "^3.14.0",
"@ionic/storage": "^2.1.3",
"amdefine": "^1.0.1",
"cordova-android": "~6.3.0",
"cordova-browser": "~5.0.1",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-camera": "^3.0.0",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-device": "^1.1.4",
"cordova-plugin-file": "^5.0.0",
"cordova-plugin-file-transfer": "^1.7.0",
"cordova-plugin-filepath": "^1.1.0",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-qrscanner": "^2.5.0",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-swift-support": "^3.1.1",
"cordova-plugin-whitelist": "^1.3.1",
"cordova-sqlite-storage": "^2.1.2",
"ionic-angular": "3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"moment": "^2.20.1",
"rxjs": "5.5.2",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.18"
},
"devDependencies": {
"@ionic/app-scripts": "^3.1.4",
"tslint": "^5.8.0",
"typescript": "2.4.2"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"ionic-plugin-keyboard": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-camera": {},
"cordova-plugin-file": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-filepath": {},
"cordova-sqlite-storage": {},
"cordova-plugin-qrscanner": {},
"cordova-plugin-app-version": {}
},
"platforms": [
"android",
"browser"
]
}
}
10 -
qq_二月四号_0
2018-01-28
我也出现了这个问题,方法都试了也没解决,你们的都解决了吗?
00 -
慕粉0958041534
2018-01-02
问题解决了没,我也遇到同样的问题。一刷新就报错
00 -
Parry
2017-12-19
官方的一个插件 issue
请看这里:https://github.com/ionic-team/ionic-cli/issues/2574
00 -
Parry
2017-12-19
尝试执行下 npm install @ionic/cli-utils --save 试试。
00 -
Parry
2017-12-19
ionic info 我看下系统信息。
072018-04-21
相似问题