Next.js Discord

Discord Forum

Compile NextJS Application after build to an executable

Unanswered
West African Lion posted this in #help-forum
Open in Discord
West African LionOP
I want to turn a built next js application into an executable using nexe or pkg.

After building my next js application the .next folder contains these: https://i.stack.imgur.com/jCmQW.png

I want to use the pkg or nexe node packages to turn my application into an executable, the user will run it then a terminal will display that a server is listening on port 3000 finally the user opens the browser and he is able to use the app. I'm struggling to integrate these packages to attain my goal.

Any suggestions ?

0 Replies