Built next application with custom server has incorrect package.json script #12555
Pkearney2021
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, as the title states when I build my nextjs application and it includes a custom server, the package.json start script runs
next start
. Which from my understanding will completely bypass the custom server.I didn't log this as a bug as I thought it was expected behaviour and just wanted to discuss it. I understand that I could just run
node <pathtocustomserver>
but are there any plans to have the package.json generate a start command that aligns with the type of server?Beta Was this translation helpful? Give feedback.
All reactions