After update to 1.9.10 I get error "export is not defined"



  • Hi,
    I use feathers-vuex 3.9.0 together with quasar. After the update to quasar 1.9.10 I receive this error in browser console:

    Uncaught ReferenceError: exports is not defined
        at eval (webpack-internal:///./node_modules/feathers-vuex/node_modules/@feathersjs/commons/lib/hooks.js:28)
        at Module../node_modules/feathers-vuex/node_modules/@feathersjs/commons/lib/hooks.js (vendor.js:5403)
        at __webpack_require__ (app.js:790)
        at fn (app.js:151)
        at eval (webpack-internal:///./node_modules/feathers-vuex/node_modules/@feathersjs/commons/lib/index.js:23)
        at Object../node_modules/feathers-vuex/node_modules/@feathersjs/commons/lib/index.js (vendor.js:5415)
        at __webpack_require__ (app.js:790)
        at fn (app.js:151)
        at eval (webpack-internal:///./node_modules/feathers-vuex/dist/service-module/service-module.getters.js:21)
        at Module../node_modules/feathers-vuex/dist/service-module/service-module.getters.js (vendor.js:5319)
    

    I’ve defined

    build: {
      transpileDependencies: ['feathers-vuex']
    },
    

    in quasar.conf.js, but is this considered?
    Thanks in advance for your help!



  • If anyone has the same issue: Follow the steps here: https://github.com/feathersjs-ecosystem/feathers-vuex/pull/216#issuecomment-508957690 - this solves this problem.


Log in to reply