Ie11 error reporting details
Analysis
Through finding the problem, it is found that the problem occurs in the crypto JS package. Because this error is reported only in ie, the page cannot be loaded. It is thought that the syntax in this package is ie incompatible
Solution:
Let this package be Babel translated
chainWebpack(config) {
// For IE compatibility, the js under crypto-js and some node_modules have to be babel-translated
config.module
.rule('js')
.exclude.clear().end()
.include
.add(resolve('src'))
.add(resolve('node_modules/@quanzhiFE/qz-frontend-biz/src'))
.add(resolve('node_modules/element-ui/lib'))
.add(resolve('node_modules/crypto-js'))
.end()
}
Read More:
- Vue: How to Fix “not displaying the holder in IE9 and below”
- [Solved] error TS1086: An accessor cannot be declared in an ambient context
- [Solved] Angular basic create component error: Is it missing an @NgModule annotation
- uniapp [Vue warn]: Error in onLoad hook: “TypeError: Attempting to change the setter of an unconfigu
- [Solved] Vue Element Date plug-in reports an error in form validation
- [Solved] IE Browser Error: unhandled promise rejection error: access is denied. File stream Download
- The toast light prompt of vant in Vue reports an error
- [Solved] Warning: To load an ES module, set “type“: “module“ in the package.json or use the .mjs extension
- Solution to build error in Vue project (error in static/JS)/vendor.xxxxx.js from UglifyJs)
- The body of a for-in should be wrapped in an if statement to filter unwanted properties from the pro
- Solve the problem of repeatedly clicking the same route console in Vue to report an error
- [Solved] Vue3 Error: Cannot use ‘in‘ operator to search for ‘path‘ in undefined
- Error in created hook: “SyntaxError: Unexpected token u in JSON at position 0
- How to Solve Error: [Vue warn]: Missing required prop: “value”
- How to solve Uncaught (in promise) error in VUE?
- error in ./node_modules/@lit/reactive-element/decorators/state.jsModule parse failed: Unexpected
- [Solved] Vue Project Error: Module build failed: Error: Missing binding
- [Solved] Error in created hook: “SyntaxError: Unexpected token o in JSON at position 1“
- Using for in loop complex data types (object and array) in ES6
- ‘webpack dev server’ is not an internal or external command, nor is it a runnable program or batch file. Solution: error in cnpm run dev: