-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextron with Electron v22.0.0 or newer show only white page #384
Comments
I had the same issue. This line on the terminal
led me to look for the missing port variable.
in the file and replace it with
or whatever the port you are using for development is. I'm not sure where the process arguments are taken from, but this can probably be solved by just modifying the command used to call electron or next or something. Hope this helps you continue development |
Same problem as OP, can confirm same problem is occurring for any Next v13.x and Electron v22+. |
thank you for trying to help i got this error ❯ yarn dev
DevTools listening on ws://127.0.0.1:5858/devtools/browser/d430a5c1-f4e3-4607-8d01-a3c165360dd1
|
Everyone is having the same issue: #346 (comment) |
Hello, any updates on this issue? |
I wrote an answer to your question, look at my comment on the above |
Upgrading Electron to latest (26.2.2 at the time of writing) seems to work okay for me in dev and production, with the caveat being that I was already using |
@makeusabrew @noevermaurice and everyone, |
Dear, the problem persist for me.
That does not work, if nodeIntegration: true and contextIsolation: false |
Could you let me know, are you using IPC? (ipcMain and ipcRenderer) |
Dear @saltyshiomix, We use nextron in two production applications. We are importing ipcRenderer in the renderer process, so removing config.target results in missing dependencies for fs. Any updates? |
I'm facing the same issue. Initially, I encountered problems when attempting to build for Windows, prompting me to upgrade Electron to the current version, 27.0.0. After upgrading Electron, the build process worked well, but I'm now encountering a blank page issue when running the application in dev mode. I've experimented with different configurations, such as disabling I also attempted to resolve this by downgrading to version 26.2.2 and follow the previously mentioned steps, but unfortunately, the issue persisted. Are there any updates or solutions available for this problem? My versions:
|
Related to #346 and not fixed. |
just slowly port your app. You can achieve the same functionalities with nodeIntegration false and contextIsolation true I ported my nextron v8 to v9, electron 21 to 31, next 13 to 14, it takes some times, but its not impossible. |
Description:
When using Nextron along with Next.js in version 13.3.3 and Electron in version 22.0.0, an issue occurs where the application displays a white screen upon start and fails to load the expected content. No error messages or warnings are displayed to indicate the problem.
Steps to Reproduce:
Use Nextron with Next.js in version 13.3.3 and Electron in version 22.0.0.
Start the application.
Expected Behavior:
The application should successfully start and display the expected content.
Current Behavior:
The application starts but only shows a white screen, failing to load the expected content.
Additional Information:
This issue occurs when using Nextron, Next.js in version 13.3.3, and Electron in version 22.0.0 together.
No error messages or warnings are shown to indicate the problem.
Other features of the application may function correctly, but the main content is not displayed.
The text was updated successfully, but these errors were encountered: