IE11 error: SCRIPT445 Object doesn't support this action
See original GitHub issueDescribe the bug
Our web app runs fine in Google Chrome but not in IE11. It simply displays a blank page although we followed the documentation on the browserlist options within package.json
:
"devDependencies": {
"@quasar/app": "^2.1.0",
}
"browserslist": [
"defaults",
"ie 11"
]
To Reproduce Steps to reproduce the behavior:
- Clone GitHub repo
- run
yarn dev
orquasar dev
- See the error in the console of IE11 with a blank page
SCRIPT438: Object doesn't support property or method 'values' // error in console
Object.values(ENVIRONMENT.resources) // from this code
Expected behavior Loading the page without issue.
Screenshots
Platform (please complete the following information): Browsers: IE11
Additional context A similar issue has been reported here.
Running quasar dev
clearly states the browser is supported:
Configured browser support (at least 89.98% of global marketshare):
· IE >= 11
And running quasar build
:
App · Transpiling JS (Babel active) - includes IE11 support
Transpiled JS..... yes (Babel) - includes IE11 support
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
SCRIPT445) "Object doesn't support this action" - Stack Overflow
object doesn't support this action is error is coming in IE11 using window.dispatchEvent(new Event('resize')); we need to d handle the ...
Read more >Object doesn't support this action - WordPress.org
The plugin is failing in IE11. The issue prevents the cookie banner ... The error I see in the console is “SCRIPT445: Object...
Read more >IE11 JavaScript (Error: SCRIPT445) “Object doesn't support this ...
I use a Javascript solution which loads the youtube player API asynchronously. The whole script is supposed to play the video when scrolled...
Read more >IE11 error: SCRIPT445 Object doesn't support this action
Describe the bug. Our web app runs fine in Google Chrome but not in IE11. It simply displays a blank page although we...
Read more >IE 11 Select Change Not Supported
I get an error when I try to subscribe to the onchange function of the select. The error I get is SCRIPT445: Object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If it’s not a bug/feature request you should post on the forum to get better support.
Anyways. This can happen if one of your non-quasar dependencies is not IE11 compatible. |Becasue by default the node-packages do not get transpiled and therefore can break Quasars IE11 compatibility. You could start to put
@vue/composition-api
in thetranspileDependencies
in the quasar.conf file so it will be transpiled by babel.See: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
I have found when transpiling to a early version of android some of my dependencies were still too new so i had webpack grab those as well.
If you slap this bad boy in your quasar.config.js file in the
extendWebpack (cfg) {
function and change those includes to your dependencies that might fix it.the way i figure out what i need to transpile is just running the code and looking in the console and figuring out what libraries are causing the error. its a slow process but it was necessary for it to run
EDIT However the
transpileDependencies
is probably doing the same thing for you… I just read that bit of the conversation.