Not working in Edge 18
See original GitHub issueI’m checking the compatibility across different web browsers for my app and I found out that Vuexfire
is not working on the last version of Microsoft Edge.
The error I’m getting is script1028 expected identifier string or number
only by writing the actions:
bindRef: firestoreAction(({ bindFirestoreRef }, { name, ref }: Reference): void => {
bindFirestoreRef(name, ref);
}),
unbindRef: firestoreAction(({ unbindFirestoreRef }, { name }: Reference): void => {
unbindFirestoreRef(name);
}),
I’m also trying to track down what is the part of code that is causing the trouble so I could add some babel polyfill or something but the logs are not so helpful.
Edit:
Looks like it was about WeakMap
, acording to Vuexfire docs.
I’m trying this:
['@vue/app', {
polyfills: [
'es6.weak-map',
],
}],
Cannot make it work.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Common Microsoft Edge Problems, and How to Fix Them
Clear out your browser cache (and history if needed), then reboot Edge and see if the problem is fixed.
Read more >What to do if Microsoft Edge isn't working
Make sure that your browser is closed and that you have administrative rights to your device. · Go to Start > Settings >...
Read more >FIX Microsoft Edge Not Launching In Windows 11 - YouTube
Windows 11 Edge Won't Open & Keeps FlashingIn this video, I will be showing you how to fix Microsoft Edge not launching, loading, ......
Read more >Microsoft Edge - Wikipedia
Microsoft Edge is a proprietary, cross-platform web browser created by Microsoft. It was first released in 2015 as part of Windows 10 and...
Read more >LastPass for Microsoft Edge Legacy (no longer supported)
Last year Microsoft announced that starting March 9, 2021 they would stop supporting the Legacy Edge web browser and no longer provide security...
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
It turns out some of the transpiration wasn’t correctly done so I changed the rollup config. There is a new version released
@posva
Done.
I included Vuex though, since it’s how I reproduce the error.