You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know there is quite a lot of issue requests made, and I know pulling another one will only add more to it, but this is quite a breaking change. I use Nextron as my framework to use Electron and NextJS together, so this is quite a big issue to me as I cannot build my project.
When running npm run build it compiles the project and makes it into an executable as you may know, however, the issue is when you run the compiled executable, it only returns an empty page.
After analysing what could be the problem, it seems to not find the URL when it is built and instead returns to the URL of chrome-error://chromewebdata/ which is what happens when the URL could not be found.
I used the tailwind template with the exact same NPM commands to set up the project, with the only change being made is the project name.
It seems to be replicated when you run the commands npx create-nextron-app customappname --example with-tailwindcss, npm install, and lastly npm run build.
Can anyone else see if this is an issue they are getting also? :)
The text was updated successfully, but these errors were encountered:
Just a follow up, I tried this with no templates and found the same issue.
I wonder if this could be Next JS not compiling properly and doesn't get embedded with Electron? If anyone can replicate this issue, please let me know so I can see if this is a me problem.
Running the compiled version on 3 different devices yielded with the same result.
I compiled using 3 different versions, with a template, with no template, and a fork of this project.
Anyone know a potential fix for this problem?
Hamtaro25565
changed the title
Building results in an empty page
[RESOLVED + SOLUTION] Building results in an empty page and errors during build
Nov 19, 2024
Hi there,
I know there is quite a lot of issue requests made, and I know pulling another one will only add more to it, but this is quite a breaking change. I use Nextron as my framework to use Electron and NextJS together, so this is quite a big issue to me as I cannot build my project.
When running
npm run build
it compiles the project and makes it into an executable as you may know, however, the issue is when you run the compiled executable, it only returns an empty page.After analysing what could be the problem, it seems to not find the URL when it is built and instead returns to the URL of
chrome-error://chromewebdata/
which is what happens when the URL could not be found.I used the tailwind template with the exact same NPM commands to set up the project, with the only change being made is the project name.
It seems to be replicated when you run the commands
npx create-nextron-app customappname --example with-tailwindcss
,npm install
, and lastlynpm run build
.Can anyone else see if this is an issue they are getting also? :)
The text was updated successfully, but these errors were encountered: