Closed msamgan closed 4 months ago
moreover ⨯
next export
has been removed in favor of 'output: export' in next.config.js.
Learn more: https://nextjs.org/docs/app/building-your-application/deploying/static-exports
please can we make an update in the package regarding this.
the issue is in next 14. it works with next 13.
Here's the actual nextjs error:
"next export" does not work with App Router. Please use "output: export" in next.config.js https://nextjs.org/docs/advanced-features/static-html-export error Command failed with exit code 1.
Hi, @msamgan , sorry for late reply.
I just released nextron v9.0.0 and v8.24.0. So could you try these versions?
@arabovs
Sorry for inconvenience. Could you try nextron v9 or v8.24.0?
Thanks @saltyshiomix , will test today
ok. is there any special migration guide, anything special to take care while updating ?
@msamgan
Sorry for inconvenience!
Please follow this(update next.config.js): https://github.com/saltyshiomix/nextron/issues/442#issuecomment-2171149218
thanks, i will make the appropriate updates and will get back to you.
@msamgan
Thank you very much, too!
Feel free to mention me.
@msamgan Any updates? If you have troubles, feel free to ask me :)
If you have any troubles, feel free to open the issue :)
@saltyshiomix I am working with next.js app router and when I write "output": "export" in next.config.js the middleware.ts file does not work and when I remove the "output": "export" the build does not work.
what should I do ?
try changing version back to 13, that worked for me.
To all who is struggling with nextron just read this article it will fix all your problems. https://www.saybackend.com/blog/03-electron-nextjs-ssr
You will go back to nextjs 14 after this blog @msamgan
thanks @alieldeba. I will have a look.
error: unknown option '-o'
Cannot build electron packages: Error: Command failed with exit code 1: next export -o /Users/msamgan/Projects/digilink/mns_offline/app /Users/msamgan/Projects/digilink/mns_offline/renderer
I am facing this. Can anyone help me in this.
it was working like a few days ago.