-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
API routes don't return with concurrentFeatures #30586
Comments
Hey! I tested locally that with the latest Please let us know if you can still reproduce this issue :) |
…31227) Ensures that API routes are working as expected with `concurrentFeatures: true`. Closes #30586. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
…ercel#31227) Ensures that API routes are working as expected with `concurrentFeatures: true`. Closes vercel#30586. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
What version of Next.js are you using?
12.0.2-canary.6
What version of Node.js are you using?
14.17.0
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
A freshly generated next app does not seem to allow API routes when concurrentFeatures is turned on. The browser never loads anything and the console displays output similar to the following:
Expected Behavior
API routes to not be affected by concurrentFeatures. If I turn them off, the API routes load as expected.
To Reproduce
npx create-next-app --ts --use-npm
cd
into the new app directory and edit the next.config.js file to add the concurrentFeatures flag like so:npm run dev
The text was updated successfully, but these errors were encountered: