-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
[NEXT-1231] This is probably a bug in the React Server Components bundler. #50243
Comments
Same issue here. I'm running on |
I tried to generate a new project now, and this working fine ❤️ |
I'm facing a similar issue running NextJS application through a custom http server, using the
|
@shuding After a bit further debugging of this it seems like |
I am still getting the same error when trying to execute npm run dev . I am trying to create a new next js project using npx create-next-app . I tried with both the @latest and without latest and for both it gives same error in sonsole as **Could not find the module app-router.js in the React Client Manifest. This is probably a bug in the React Server Components bundler. ** |
@Abhishek-Selfridges can you please raise a new issue? my setup is a bit more complicated to share at the moment, so I think the team would really appreciate it if they have more detailed information about how to reproduce this issue. |
Faced the same error today. Any fix? |
Any fix for this? Finding that some people can run |
I am having the same issue, did anyone resolve it? if yes then please share. |
I'm getting similar issue only when running route on
|
I'm seeing this error when using the Image component. I'm on next@13.4.8 which was released just a few hours ago. Everything is working as expected until I use the Image component. I get this error...
I also see this in the terminal...
Maybe this issue can be reopened please? |
Solved the problemSolve: I added "use client" in the parent component. |
I think this is about as small a repro as I can make it. The issue seems to stem from using a dynamic import. I've personally encountered this while loading MDX components, but this can occur with any kind of component. Repro: https://github.com/alexkirsz/next-app-router-dynamic-issue |
Yes good call. My project is using dynamic imports too! |
@alexkirsz Looks like this issue isn't isolated to the Image component, as I'm getting the same error when using the link component in a component that's dynamically imported.
|
@stevedeighton I am having similar issue but for different file. Still trying to figure out what it it.
|
Found out that error.tsx file for error handling was missing. Even though there was no error in development but got the above issue in production. |
@gokulkrishh I had the same error. In my case I was implementing |
@ctkc Yes looks like it, global-error.tsx file caused this issue. Resolved it by removing it. Thanks. |
I have also spotted this error using |
This error is so weird.. I had it for a moment. I switched branch, then came back to the my main branch. And the error disappeared.
|
Getting the following error:
NextJs version: Node version: I'm using the Intercepting Routes feature. It was working yesterday, I updated NextJs today, and it is not working anymore.
Things I've tried so far without success:
|
I faced with same issue, I don't know the problem, but I guess client components cause the crash when I remove them it's working so if you convert all components to server components, probably will work. |
I'm now facing the same issue after upgrading from Next 13.4.7 to 13.4.10. |
Same issue `@modal (.)project/[id] page.tsx` |
I was facing the same issue, downgrading to 13.4.7 fixed the problem. The nextgram example is using that version. |
Same issue when upgrading from |
I think this is related to #52681 |
When doing dynamic imports like `import(variable)`, Webpack _tries_ to statically analyze it and creates a regex like context module for it (which includes all possible modules). This `ContextModule` doesn't have a resource path so we need to use the identifier to track it. Tested with @alexkirsz's repro here #50243 (comment) and confirmed that it fixes the problem. Closes #50243.
Guys please remove |
@pawanrana1992 can you share a reproduction of your application where it fails in a new issue? Might be something in the file? I.e. maybe not rendering |
Please open a new issue as I requested. |
Tested using 13.4.11-canary.0. Same! |
@dihan48 Are you going to create the new issue, or should I? |
I'm going to lock this issue, please read my earlier comments. |
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
npx create-next-app --example reproduction-template-app-dir reproduction-app
To Reproduce
When attempting to generate a new Next.js project using the command
npx create-next-app@latest
, I encountered an error in app-router.js# related to the React Client Manifest. This error is likely due to a bug in the React Server Components bundler, which was triggered after running thenpm run dev
command.Describe the Bug
Expected Behavior
Generate a new Next.js app with the latest features
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-1231
The text was updated successfully, but these errors were encountered: