Ionic:webpackJsonp未定义

时间:2018-04-12 03:01:06

标签: ionic-framework ionic3

离子应用程序似乎停止了工作,我无法查明原因。我从空白应用程序再次开始,但此错误仍然存​​在

不确定我是否缺少设置步骤或版本不匹配问题?任何指针都会有所帮助,因为我在这个问题上浪费了几个星期

接受的答案,如 - WebpackJsonp missing after Ionic 3 updateIonic 2: ReferenceError: webpackJsonp is not defined尚无法使用

index.html已

<!-- The polyfills js is generated during the build process -->
<script src="build/polyfills.js"></script>

<!-- The vendor js is generated during the build process
 It contains all of the dependencies in node_modules -->
<script src="build/vendor.js"></script>

<!-- The main bundle js is generated during the build process -->
<script src="build/main.js"></script>

离子信息 -

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

全球套餐:

cordova (Cordova CLI) : 8.0.0

本地包裹:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : android 6.4.0 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

系统:

Android SDK Tools : 26.1.1
ios-deploy        : 1.9.2
Node              : v9.5.0
npm               : 5.7.1

service.worker.js有 -

// pre-cache our key assets
self.toolbox.precache(
[
 './build/main.js',
 './build/vendor.js',
 './build/main.css',
 './build/polyfills.js',
 'index.html',
 'manifest.json'
]
);

0 个答案:

没有答案