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

Route "/" used crypto.randomUUID() outside of "use cache" and without explicitly calling await connection() beforehand. #72904

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

Comments

@TheCukitoDev
Copy link

Link to the code that reproduces this issue

https://github.com/TheCukitoDev/blog

To Reproduce

  1. Fill the env variables
  2. Run pnpm run dev:turbo
  3. Open localhost:3000

Current vs. Expected behavior

I think this shouldn't happen because i don't use any crypto.randomUUID() in my project or at least in my code i don't know if it happens in the node_modules but i think yes.

It should work well. I only get some Cosmos DB data...

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 16088
  Available CPU cores: 16
Binaries:
  Node: 20.15.1
  npm: 10.7.0
  Yarn: N/A
  pnpm: 9.12.3
Relevant Packages:
  next: 15.0.4-canary.14 // There is a newer canary version (15.0.4-canary.15) available, please upgrade!
  eslint-config-next: 15.0.3
  react: 19.0.0-rc-380f5d67-20241113
  react-dom: 19.0.0-rc-380f5d67-20241113
  typescript: 5.6.3
Next.js Config:
  output: N/A

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

Turbopack, Webpack

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

next dev (local)

Additional context

I tested it in Next.js 15.0.4-canary.14 (Turbopack) ,Next.js 15.0.4-canary.14 (Webpack) ,Next.js 15.0.4-canary.15 (Turbopack) and Next.js 15.0.4-canary.15 (Webpack) and it is the same error in the turbopack ones and the same one in the webpack ones but different between the turbopack ones and the webpack ones. I think the error comes from sentry because i don't receive the errors in sentry but it worked before so I don't know what happened

@TheCukitoDev TheCukitoDev added the bug Issue was opened via the bug report template. label Nov 17, 2024
@github-actions github-actions bot added Turbopack Related to Turbopack with Next.js. Webpack Related to Webpack with Next.js. labels Nov 17, 2024
@timneutkens timneutkens added dynamicIO Related to dynamicIO. and removed Webpack Related to Webpack with Next.js. Turbopack Related to Turbopack with Next.js. labels Nov 18, 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

2 participants