feathersjs-ecosystem / feathers-vuex

Integration of FeathersJS, Vue, and Nuxt for the artisan developer

Home Page:https://vuex.feathersjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Cannot read properties of undefined (reading 'set')

palmtown opened this issue · comments

Steps to reproduce

(First please check that this issue is not already solved as described
here
)

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

Expected behavior

Solution provided to resolve Vue.set(state.keyedById, id, item) TypeError: Cannot read properties of undefined (reading 'set').

Actual behavior

Vue.set(state.keyedById, id, item) throws an error TypeError: Cannot read properties of undefined (reading 'set').

It seems "import Vue from 'vue'" is no longer supported

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):
feathers-vuex

NodeJS version:
v16.13.0

Operating System:
Ubuntu

Browser Version:
Chrome Version 97.0.4692.71 (Official Build) (64-bit)

React Native Version:
n/a

Module Loader:
n/a