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.

Not working in Edge 18

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
posvacommented, Aug 5, 2019

It turns out some of the transpiration wasn’t correctly done so I changed the rollup config. There is a new version released

1reaction
JFGHTcommented, Aug 5, 2019

@posva

Done.

I included Vuex though, since it’s how I reproduce the error.

Read more comments on GitHub >

github_iconTop 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 >

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