Next.js Discord

Discord Forum

Executable file

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

4 Replies

Avatar
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.
Avatar
NebelungOP
I'm trying to run my project through pm2 and it asks for the path of the executable file.
Avatar
1. npm run build
2. pm2 start npm --name "next-app" -- run start
@Nebelung