Next.js Discord

Discord Forum

Executable file

Unanswered
Nebelung posted this in #help-forum
Open in Discord
NebelungOP
Which file to run from .next folder?

4 Replies

Schneider’s Smooth-fronted Caiman
The usual way to start an application would be next startBut that executable (next) is not in the .next folder.
NebelungOP
I'm trying to run my project through pm2 and it asks for the path of the executable file.
1. npm run build
2. pm2 start npm --name "next-app" -- run start
@Nebelung