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

Turbo config only accepted in experimental [Next.js 15] #71750

Closed
sombrilla opened this issue Oct 23, 2024 · 2 comments · Fixed by #71761
Closed

Turbo config only accepted in experimental [Next.js 15] #71750

sombrilla opened this issue Oct 23, 2024 · 2 comments · Fixed by #71761
Labels
Documentation Related to Next.js' official documentation. locked

Comments

@sombrilla
Copy link

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/exciting-kepler-go8s7s

To Reproduce

  1. Add turbo config in next.config.js/mjs
  2. Start dev server
  3. Logs show:
Invalid next.config.mjs options detected: 
 ⚠     Unrecognized key(s) in object: 'turbo'

Current vs. Expected behavior

According to the docs turbo config is not experimental and doesn't require the config to be wrapped in experimental.

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 15.0.2-canary.0 // Latest available version is detected (15.0.2-canary.0).
  eslint-config-next: N/A
  react: 19.0.0-rc-45804af1-20241021
  react-dom: 19.0.0-rc-45804af1-20241021
  typescript: 5.3.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Documentation, Turbopack

Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local)

Additional context

Tested as well on 15.0.1 stable

@sombrilla sombrilla added the bug Issue was opened via the bug report template. label Oct 23, 2024
@github-actions github-actions bot added Documentation Related to Next.js' official documentation. Turbopack Related to Turbopack with Next.js. labels Oct 23, 2024
@samcx samcx removed bug Issue was opened via the bug report template. Turbopack Related to Turbopack with Next.js. labels Oct 23, 2024
@samcx
Copy link
Member

samcx commented Oct 23, 2024

@sombrilla Thank you for submitting an issue!

Looks like a fix was already pushed up, but just making 1 extra additional update/fix.

samcx added a commit that referenced this issue Oct 23, 2024
## Why?

The `turbo` config is still experimental in v15.

- Fixes #71750
- Related PR: #71755
Copy link
Contributor

github-actions bot commented Nov 7, 2024

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot added the locked label Nov 7, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants