Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Native node modules with electron wrapper #1224
What did you get as the error?
'net' not found or recognized as a command
What were you expecting?
It is supported by electron:
So it should also be supported in quasar. It lacks alot of functionality when native modules is not available for desktop apps.
What steps did you take, to get the error?
In myProject/src/main.js add:
My attempt on fixing this
Remove this dependency from package.json:
Change build.webpack.base.conf by adding:
Note: Open app in browser does not work, but it is expected as its not the target.
So how can I use quasar + electron + native node modules together without getting it to crash?
In the meantime, I got it to 'work' by disabling optimizeSSR in webpack conf without any errors, but now the css will not load :(