resolvent:
1. First, download and install “Babel Polyfill” dependency: NPM install — save Babel Polyfill
2. Project main.js Import ‘Babel Polyfill’
Error Description: both chrome and FF are good at keeping “ie” data out
Error analysis: the IE kernel reports an error. First, locate the browser compatibility problem, and then read the error: error in created hook: “reference error:” promise “is not defined”. That is to say, promise callback is not supported. Promise is a feature of ES6. That is to say, the IE kernel version is not friendly to ES6 compatibility, and it needs to be degraded to be resolved. As for “Babel Polyfill” You can see the explanation on the official website
https://babeljs.io/docs/en/6.26.3/babel-polyfill
Read More:
- Error in created hook: “typeerror: cannot read property ‘cm’ of undefined”
- Ie11 reports an error unhandled promise rejection typeerror: the object does not support
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- [_ Note] Vue.js reported an error: Cannot read property’validate’ of undefined”
- Error in mounted hook: “TypeError: Cannot read property ‘init‘ of undefined“
- Syntax error in Vue ie10 browser
- When angular4.0 starts the project, an error is reported: the “@ angular / compiler cli” package was not properly installed
- Easywasmlayer reports an error uncaught (in promise) domexception when playing a video
- The Vue project does not install node sass and an error is reported
- The browser reported an error ‘stylesheets undefined’‘‘
- Vue project, browser error: referenceerror: H is not defined
- About iView reporting error in Vue project: error in mounted hook: “typeerror: this$ parent.updateNav is not a function”
- Uncaught (in promise) TypeError: Object(…) is not a function
- In Vue, use echorts to report an error: “typeerror: cannot read property ‘init’ of undefined” error reporting reason and solution
- Error in v-on handler (Promise/async): “[object Object]“
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- Vue project reports an error on ie11 white screen. Script1002: syntax error
- Vue uses this. $refs. Subcomponent Ref. method to report an error: cannot read property ‘resetfields’ of undefined problem
- Error 1: Vue quickly clicks the route to jump. Error: uncaught (in promise) error: request aborted
- ionic Uncaught (in promise): Error: StaticInjectorError[NavController]