question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] Not work in Edge, error:'SCRIPT1028: SCRIPT1028: Expected identifier, string or number'

See original GitHub issue

Environment

Vuetify Version: 2.0.4 Last working version: 1.5.16 Vue Version: 2.6.10 Browsers: Microsoft Edge OS: Windows 10

Steps to reproduce

just use defult settings

vue create test
vue add vuetify
cd test
yarn serve

Expected Behavior

work in Edge

Actual Behavior

SCRIPT1028: SCRIPT1028: Expected identifier, string or number

Reproduction Link

https://github.com/shadowdreamer/test

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

24reactions
jacekkarczmarczykcommented, Nov 21, 2019

You need to transpileDependencies in vue.config.js

edit: updated link https://vuetifyjs.com/en/getting-started/browser-support#ie-11-amp-safari-9-support

Leaving this open as it’s not clear enough there that it applies to Edge as well

// vue.config.js

module.exports = {
  ...,
  transpileDependencies: ['vuetify'],
}; 
4reactions
wrdicksoncommented, Aug 7, 2019

thanks. worked for me as well. why is this not in the 2.0.5 Quick Start documentation?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edge: SCRIPT1028: Expected identifier, string or number
It appears (surprisingly) that Edge doesn't support property rest yet, which is unfortunate but then it was officially added only in ES2018.
Read more >
SOLUTION: SCRIPT1028: Expected identifier, string or number
When we use spread operator in an array the error is triggered in Internet Explorer. For example this code do not work in...
Read more >
Error - Expected identifier, string - Material Design for Bootstrap
**Actual behavior** Vue fails to load cause script error [Error: SCRIPT1028: SCRIPT1028: Expected identifier, string or number].
Read more >
Errors show on MS Edge for Javascript API 4.21
See the errors below: 1. SCRIPT1028: SCRIPT1028: Expected identifier, string or number. init.js (45,460). 2. 0: 'require' is not defined.
Read more >
Known issue with older versions of Microsoft Edge
The error presents itself by saying: SCRIPT1028: SCRIPT1028: Expected identifier, string, or number batch.js(113,121951).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found