Based on the information provided in your debugger screenshot, it appears that the error is originating from the `native-toast` package. A quick look at the package's GitHub repository reveals an ongoing unresolved issue, specifically involving the usage of a `for ... of` loop which may not be compatible with Internet Explorer. This compatibility issue is a common trigger for the Vue IE SCRIPT1004 error, typically caused by a missing semicolon in the code.
To address this, you can instruct Vue CLI to transpile the entirety of the `native-toast` dependency package, a process that is not enabled by default. Simply add the following configuration to your `vue.config.js` file:
module.exports = {
transpileDependencies: [
'native-toast'
]
}
It's worth mentioning that the `transpileDependencies` property expects an array of package names [or RegExp]. Additionally, there may be cases where you need to include similar configurations in your `babel.config.js` file as well:
module.exports = {
"presets": [
'@babel/preset-env'
],
}
For further information and guides on handling compatibility issues in Vue CLI, you can refer to the following resources:
Vue CLI transpileDependencies
Documentation
Vue CLI Polyfills Guide
Vue Forum Example with transpileDependencies