Problem phenomenon
The project is a front-end project built with Vue/cli3 scaffold, and Vue version is 2.6.10.
Ie11 error reporting problems are as follows:
(there was no screenshot in the error report at that time, but someone else’s picture was used)
It’s annoying that there’s no way to check mistakes like this
Baidu a pile, all copy to copy, the key has not been able to solve the problem, shit! Omnipotent Google up
In fact, this problem is obviously a syntax error, that is, the problem that ie does not support, ie garbage
Since it’s a syntax problem, it’s a compilation problem. Let’s directly compile the corresponding package, but which package is it
Here’s the point: when you click the error message, you will find that the place where the breakpoint is is the place where the error is reported. That must be the problem here, but this is the compiled code. How to check which package is a headache!
When I was having a headache, I found that the comment above was the name of the package???
It’s like discovering a new world
It’s him. This picture is not my error information. My error information is
./node_modules/[email protected]@js-base64.js
Since the package with the problem is found, specify that it be compiled; Using webpack
Directly configure the compiled code in vue.config.js
transpileDependencies: [
/[/\\]node_modules[/\\][email protected]@js-base64[/\\]/,
],
Then directly NPM run serve
be accomplished! It’s done! go off work!
Read More:
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- [shell] sh executes the script and reports an error syntax error: “(” unexpected “)
- Vue executes NPM run Dev and reports an error: missing script: dev
- OpenGL result white screen solution
- Syntax error in Vue ie10 browser
- Ie11 reports an error unhandled promise rejection typeerror: the object does not support
- The solution of white screen crash when loading QML
- Error in created hook: “referenceerror:” promise “undefined” Vue cli project Google is right, ie reported an error, “promise” undefined“
- SH script reports error “Eval: Line 1: syntax error: terminated quoted string”
- After NPM run dev is running, the browser does not respond and reports an error in. / ~ / Babel loader / lib! / ~ / Vue loader / lib/ selector.js?type=script&in
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- The python script tool of ArcGIS reports an error: indentationerror: unexpected indent solution
- Repo reports an error syntax error: invalid syntax
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- The remote port occupation of Linux startup jar package script reports an error
- The web project removal server reports an error, and the web project in eclipse cannot be automatically deployed to Tomcat
- Vue agent reports an Error 404 nginx configuration method
- Vue Alain startup command yarn serve reports an error
- Junit4 unit test reports an error invalid project specified
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution