books icon indicating copy to clipboard operation
books copied to clipboard

yarn dev: failed to resolve entry for package "fs"

Open Nahiiko opened this issue 1 year ago • 9 comments

Since going from yarn electron serve to yarn dev (didn't look specifically why), Not able to launch yarn dev, I get: failed to resolve entry for package "fs"

To solve I used: https://github.com/nuxt/vite/issues/160#issuecomment-983080874

And went ahead with the fixes proposed which worked, just be careful the comment has a typo: fs: require.resolve('rollup-plugin-node-builtins'),

I'll push a commit with necessary fixes soon (unless someone else is faster ;) ), in the meantime you can use this to fix.

Nahiiko avatar Jun 28 '23 10:06 Nahiiko