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

Bug/inconsistency with dynamicIO and dynamic imports #72589

Open
amannn opened this issue Nov 11, 2024 · 0 comments
Open

Bug/inconsistency with dynamicIO and dynamic imports #72589

amannn opened this issue Nov 11, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template. dynamicIO Related to dynamicIO.

Comments

@amannn
Copy link
Contributor

amannn commented Nov 11, 2024

Link to the code that reproduces this issue

amannn/nextjs-bug-repro-json-import-turbo@011dc47

To Reproduce

  1. Clone https://github.com/amannn/nextjs-bug-repro-json-import-turbo/
  2. pnpm i
  3. pnpm dev --turbo
  4. See error

Current vs. Expected behavior

When running with Turbo, this error message is printed:

Screenshot 2024-11-11 at 20 07 56

When running with webpack, there's no error.

Provide environment information

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 12
Binaries:
  Node: 20.11.1
  npm: 10.2.4
  Yarn: 1.22.22
  pnpm: 9.12.3
Relevant Packages:
  next: 15.0.4-canary.5 // Latest available version is detected (15.0.4-canary.5).
  eslint-config-next: 15.0.4-canary.5
  react: 19.0.0-rc-66855b96-20241106
  react-dom: 19.0.0-rc-66855b96-20241106
  typescript: 5.6.3
Next.js Config:
  output: N/A

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

dynamicIO

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

next dev (local)

Additional context

No response

@amannn amannn added the bug Issue was opened via the bug report template. label Nov 11, 2024
@github-actions github-actions bot added the dynamicIO Related to dynamicIO. label Nov 11, 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. dynamicIO Related to dynamicIO.
Projects
None yet
Development

No branches or pull requests

1 participant