0
我有一個項目,我檢查了2個不同的文件夾。我試圖幫助別人讓項目運行,當它一直在失敗時,我想我會在另一個文件夾中重試 - 而且我可以運行ionic serve
- 網頁開始,但頁面空白,我懷疑有一些腳本運行很長時間。離子發球機不在瀏覽器中呈現
版本:
- 離子:2.1.0
- 科爾多瓦:6.3.1
- NPM:3.10.3
- 節點:6.7.0
我已經運行npm install
安裝這兩個文件夾的所有依賴項。這些文件夾的內容沒有任何區別 - 它們從同一個庫中檢出並位於同一分支上!
編輯
的的package.json如下:
{
"name": "...",
"author": "...",
"homepage": "...",
"private": true,
"config": {
"ionic_copy": "./config/copy.config.js"
},
"scripts": {
"build": "ionic-app-scripts build",
"watch": "ionic-app-scripts watch",
"lint": "ionic-app-scripts lint",
"copy": "ionic-app-scripts copy",
"i18n": "node ./scripts/i18n.js",
"serve:before": "watch",
"emulate:before": "build",
"deploy:before": "build",
"build:before": "build",
"run:before": "build"
},
"dependencies": {
"@ionic/storage": "^1.0.3",
"ionic-angular": "^2.0.0-rc.0",
"ionic-native": "^2.0.3",
"ionicons": "^3.0.0",
"moment": "^2.14.1",
"ng2-translate": "^3.0.0"
},
"devDependencies": {
"@ionic/app-scripts": "^0.0.23",
"i18next-conv": "^3.0.3",
"typescript": "^2.0.3"
},
"description": "...",
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": []
}
在控制檯中的任何類型的錯誤? –
沒有 - 它只是掛在那裏 –
然後我建議你調試錯誤,這是退出你的應用程序執行 –