vercel / next.js

The React Framework
https://nextjs.org
MIT License
127.07k stars 27.01k forks source link

Error: Could not find the module ... in the React Client Manifest. This is probably a bug in the React Server Components bundler. #72903

Open nicitaacom opened 4 hours ago

nicitaacom commented 4 hours ago

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/keen-swartz-k22cmx?file=%2Fapp%2Fpage.js%3A9%2C34

To Reproduce

Dublicate of https://github.com/vercel/next.js/issues/61046

This issue still open!

Current vs. Expected behavior

image

So if I put not-found.tsx in app folder then I see

Error: Could not find the module "/home/kali/Documents/GitHub/outreach-tool/app/not-found.tsx#" in the React Client Manifest. This is probably a bug in the React Server Components bundler.

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Kali 6.6.15-2kali1 (2024-05-17)
Binaries:
  Node: 20.0.0
  npm: 9.6.4
  Yarn: 1.22.22
  pnpm: 9.5.0
Relevant Packages:
  next: 14.0.3
  eslint-config-next: 15.0.3
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.6.3
Next.js Config:
  output: N/A

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

Navigation

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

next dev (local)

Additional context

No response

nicitaacom commented 4 hours ago

Also please fix your codesandbox website

  1. Infinity loading
  2. A bunch of errors
  3. Long loading time
audionai commented 4 hours ago

upgrade to next 15

nicitaacom commented 4 hours ago

upgrade to next 15

Thanks mate but it's not something that I want after upgrading to next 15

image

image

nicitaacom commented 3 hours ago

Temp fix for me

I just deleted .next and started pnpm dev again

image

But every time I change something I got this image