Cannot read property '_' of undefined
See original GitHub issueSteps to reproduce
I upgraded my application to feathers 4.3.0. I guessed that I need to update feathers-vuex to 2.0 to support featherjs/authentication-client 4.3.0.
Expected behavior
I tried to add feathers-vuex 2.0 to my QuasarJS project but I have a syntax error.
Actual behavior
Uncaught TypeError: Cannot destructure property `_` of 'undefined' or 'null'.
at eval (service-module.getters.js?403b:12)
at Module../node_modules/feathers-vuex/dist/service-module/service-module.getters.js (app.js:5005)
the line is
const { _ } = commons
Module Loader: Webpack
Issue Analytics
- State:
- Created 4 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Resolving TypeError: Cannot Read Property of Undefined ...
What Causes TypeError: Cannot Read Property of Undefined. Undefined means that a variable has been declared but has not been assigned a value....
Read more >Uncaught TypeError: Cannot read property of undefined In
JavaScript TypeError is thrown when an operand or argument passed to a function is incompatible with the type expected by that operator or...
Read more >[Solved] Cannot read Properties of Undefined in JavaScript
The "Cannot read properties of undefined" error occurs when you try to access a property or a method on a variable that stores...
Read more >Uncaught TypeError : Cannot read properties of undefined
The error clearly says that it is Undefined, which means the variable might be declared or used. Still, there is no value associated...
Read more >Fix: “Cannot Read Property of Undefined” Error in JavaScript
To fix the “cannot read property of undefined” error, use the optional chaining operator on the variable before accessing a property.
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
@MichaelJCole I am using latest version of feathers, feathers-vuex and QuasarJs, all work perfectly. You should simply read this:
https://github.com/feathers-plus/feathers-vuex/pull/216
We are waiting for the official documentation updated according with version 2.0. Finally you can wait for It or alternatively you should contribute 😃
Sure, funny. I’m writing up an article about a starter project I put together integrating Quasar and Feathers with FeathersVuex, and I can’t recommend using your package - it’s unreliable, undocumented, and all over the place.
Luckily, I found a yarn.lock file in git.