Closed AmazingTurtle closed 4 years ago
I encountered this problem as well. Webpack tries to resolve "babel-loader" in the cwd rather than in "node_modules/nextron" and therefore failed. Need repairing to Webpack configuration maybe?
Hi @AmazingTurtle , thank you for your reporting the issue!
I just published nextron@5.15.0
which tries to fix this issue.
If you have some time, please try it and feel free to tell me advices :)
Yeah, the problem is solved. Thanks! 😆
Issue
next is building and serving, but electron does not open. Instead an error shows up in the console when runinng
yarn dev
Commands
Versions
Output
Quick solution
I installed babel-loader via
yarn add babel-loader
and that seems to work fine. Suddenly the error disappears when runningyarn dev
again and electron opens. Seems like the dependency is missing.