Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nextjs): Custom server should work on fresh applications #19833

Merged

Conversation

ndcunningham
Copy link
Contributor

Current Behavior

If you create a fresh next.js app with a custom-server.
Running the custom-server does not work even if you provide the correct production build.

Expected Behavior

Running custom-server target on fresh apps should work.

Related Issue(s)

Fixes #18263

@ndcunningham ndcunningham self-assigned this Oct 24, 2023
@vercel
Copy link

vercel bot commented Oct 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Oct 24, 2023 6:53pm

@ndcunningham ndcunningham marked this pull request as ready for review October 24, 2023 19:22
@ndcunningham ndcunningham requested a review from a team as a code owner October 24, 2023 19:22
@ndcunningham ndcunningham added the scope: nextjs Issues related to NextJS support for Nx label Oct 24, 2023
@ndcunningham ndcunningham merged commit 1389fc0 into nrwl:master Oct 24, 2023
7 checks passed
FrozenPandaz pushed a commit that referenced this pull request Oct 25, 2023
@ndcunningham ndcunningham deleted the fix/nextjs-custom-server-error branch October 25, 2023 14:36
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: nextjs Issues related to NextJS support for Nx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Next.js server throws 'Could not find ${fileToRun}'
2 participants