Closed ErikBjare closed 2 years ago
That's weird!
I don't think node (my version is v16.9.1
) or the OS should interfere since this is based on electron-react-boilerplate, can you pull the latest commit and check if it works? I haven't added any extra dependencies, so I don't think you need to re-install node_modules
or change the node version!
In case it still doesn't I'll extend the logging of the backend as well as the front end to debug this properly!
Just pulled the latest code and ran it again, but same thing.
Here's a full screenshot in case there's something I missed:
I searched and found an issue relating to those last warning messages, but not sure if that's why the page is blank: https://github.com/electron/electron/issues/32133
In this issue https://github.com/vercel/next.js/issues/18025 they relate the error to a package called react-devtools
, but it's not on the dependencies of the project and it looks like a package for browser debugging, so I guess that cause should be discarded
Oh okay, I think the problem is actually caused by the package react-refresh-webpack-plugin
. Some people is having a similar issue, but it's happening on MacOS... https://github.com/facebook/react/issues/21047
Could you try running UPGRADE_EXTENSIONS=1 npm start
as said in: https://electron-react-boilerplate.js.org/docs/dev-tools/ ?
That worked! Awesome.
Tried running, but got an error and a blank page:
The dev tools just show a single weird error:
Tried running both with node v17 and node v14 (and removing node_modules in between), but same thing.
Using Arch Linux, but shouldn't have to do with it?
I'll also open a PR with some docs I wrote. (edit: later)