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.

Dynamic modules duplicates (registered multiple times)

See original GitHub issue

Hi,

I’m using dynamic modules in a very standard way and sometimes i get the following error: [vuex] duplicate getter key: namespace/getter

Which means that registerModule is being called even though the module has already been registered.

I wanted to implement what is suggested in this issue but I believe this has to be done inside of vuex-module-decorators since it handles the registering automatically.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:12
  • Comments:11

github_iconTop GitHub Comments

8reactions
GiacomoVosscommented, Apr 22, 2020

Any elaboration on this? Still having the same problem, makes hot reloading a rather cumbersome, even annoying feature…

5reactions
wkjid10tcommented, May 14, 2020

Would this be a difficult fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Happens When a Module Is Imported Twice?
A JavaScript module is evaluated just once. When imported multiple times from the same path, the same module instance is returned.
Read more >
Duplicate entries in dynamic feature module when using ...
Based on the last clue, it seems a bug of Android Gradle Plugin. It happens in 7.3.0 and 7.3.1. It doesn't happen in...
Read more >
Entity Query joins can cause duplicates in content views.
I have a node that belongs to 3 groups. If I access the list of nodes of any of these groups, this node...
Read more >
Jdbi 3 Developer Guide
Jdbi provides straightforward mapping between SQL and data accessible through a JDBC driver. You bring your own SQL, and Jdbi executes it. Jdbi ......
Read more >
Modules | Vuex
Register the same module multiple times in the same store. If we use a plain object to declare the state of the module,...
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