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

Error occurs when opening client page with turbopack enabled in "output: export" mode #65151

Open
By-Ha opened this issue Apr 29, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template. Output (export/standalone) Related to the the output option in `next.config.js`. Turbopack Related to Turbopack with Next.js.

Comments

@By-Ha
Copy link

By-Ha commented Apr 29, 2024

Link to the code that reproduces this issue

https://codesandbox.io/p/github/By-Ha/next_error/master

To Reproduce

  1. enable turbopack, set output to export and mark 'use client' in any page
  2. error occurred

Current vs. Expected behavior

Current:
image
Expected:
render page

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 65350
  Available CPU cores: 20
Binaries:
  Node: 20.11.1
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.3 // Latest available version is detected (14.2.3).
  eslint-config-next: 14.2.3
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: export

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

Output (export/standalone), Turbopack

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

next dev (local)

Additional context

No response

@By-Ha By-Ha added the bug Issue was opened via the bug report template. label Apr 29, 2024
@github-actions github-actions bot added Output (export/standalone) Related to the the output option in `next.config.js`. Turbopack Related to Turbopack with Next.js. labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Output (export/standalone) Related to the the output option in `next.config.js`. Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

No branches or pull requests

1 participant