electron-userland/electron-json-storage

missing module after building in vue

gruen1988 opened this issue · 1 comments

after building with vue-cli-plugin-electron-builder this error appears:

Uncaught Error: Cannot find module 'electron-json-storage'
Require stack:

  • electron/js2c/renderer_init

i use electron v.13.0.0 and
vue-cli-plugin-electron-builder 2.1.1

Hey @gruen1988 ,

The issue sounds more related to vue-cli-plugin-electron-builder than to electron-json-storage. For some reason, the module is not in the path, or such electron builder is trying to find the module in another path.

Do you have a fully-reproducible example we can take a look at?