Standalone executable file
Unanswered
gref9730 posted this in #help-forum
gref9730OP
Hello Im trying to host NextJs14 app on my windows server and I would like to be able to monitor the resources of the proccess but since Im starting the app with simple bash script that looks something like
cd C:\myProject
npm run start
I can then see only nodejs process ... and I would like to be able to monitor it with telegraf af something else... for example if im running multiple nextjs project on the server I can see three processes with same name and cant determine which one is which ...
is there a way to bundle the nextjs14 project with nexe or pkg or something where there would work as server rendering\ client rendering\ api \ database connection with prisma etc..?
Thanks in advance
cd C:\myProject
npm run start
I can then see only nodejs process ... and I would like to be able to monitor it with telegraf af something else... for example if im running multiple nextjs project on the server I can see three processes with same name and cant determine which one is which ...
is there a way to bundle the nextjs14 project with nexe or pkg or something where there would work as server rendering\ client rendering\ api \ database connection with prisma etc..?
Thanks in advance
2 Replies
Dwarf Hotot
Before npm run start, type npm run build
Store your project in some other local drive except c drive for good management