You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that the outdir line in the with typescript custom server example creates your server in .next/server/server which makes the production build and start commands as they stand break. You can remove this and the /server directory will build as intended or update the start script to node .next/server/server. I just removed that line from my project and all built as intended.
The text was updated successfully, but these errors were encountered:
mrispoli24
changed the title
outdir line creates additional /server path on build not necessary
outdir line in typescript customer server example creates additional directory on build
May 15, 2019
Bug report
I believe that the outdir line in the with typescript custom server example creates your server in
.next/server/server
which makes the production build and start commands as they stand break. You can remove this and the/server
directory will build as intended or update the start script tonode .next/server/server
. I just removed that line from my project and all built as intended.The text was updated successfully, but these errors were encountered: