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.

No longer works in Internet Explorer with default config

See original GitHub issue

After upgrading to 2.1.0 app started failing with the following error:

Unable to get property 'toLowerCase' of undefined or null reference

It happens to fail where vuex-persist tries to determine storageConstructor value. This change was introduced quite recently in #136 (fixing #97). Code relies on the fact that constructor.name is always defined, however it’s not the case for Internet Explorer. Described here: https://stackoverflow.com/questions/25140723/constructor-name-is-undefined-in-internet-explorer

Also vuex-persist is added to transpileDependencies.

I would like to provide a PR, though not sure how to deal with that issue. Will check for name not being falsy be enough?

IE: 11.55.17763.0 vuex-persist: 2.1.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
MLongzcommented, Sep 17, 2019

Will this be fixed anytime soon?

2reactions
MLongzcommented, Oct 2, 2019

@morficus

We do use Vue CLI meaning that babel with preset-env is here, and additionally vuex-persist added into transpileDependencies config. Yet it still fails for constructor.name usage. I didn’t spend much time looking into fixing that with providing specific runtime polyfill or adjusting browserlist config, and decided to lock on vuex-persist@2.0.1 while #137 isn’t yet merged.

So I tried to downgrade to 2.0.1 but I still get the same error, any idea?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change or reset Internet Explorer settings - Microsoft Support
When Internet Explorer finishes applying default settings, select Close, and then select OK. Restart your PC to apply changes. If Internet Explorer won't...
Read more >
Internet Explorer has stopped working - Microsoft Support
Open Internet Explorer and select Tools > Internet options. · Select the Advanced tab, and then select Reset. · In the Reset Internet...
Read more >
How to reinstall or repair Internet Explorer in Windows
Select the Advanced tab. Under Reset Internet Explorer settings, select Reset. Then select Reset again. Select the Delete personal settings ...
Read more >
Internet Explorer cannot display the webpage - Browsers
Click Start, type config in the search box, and then click the displayed System Configuration icon. Click the Services tab and check the...
Read more >
Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode.
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