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
Uncaught TypeError: Cannot read properties of undefined (reading 'default') at resolveModuleMetaData #42402
Comments
I get the same error if I make a clean installation and just create a new page under e.g. |
+1. This proj. (https://stackblitz.com/edit/nextjs-vsc9lp?file=README.md) builds fine on Stackblitz with
Error:
|
Yes, I have the same issue here. The project runs fine on codesandbox, but not on my machine (Windows as well). Feels like this is an OS issue... |
Yup that's correct. Whilst waiting for this to get fixed a nice workaround
is using a container (base nodejs img) with a mount on ./src to get hot
refresh.
…On Thu, 3 Nov 2022, 18:29 Justin Praas, ***@***.***> wrote:
Yes, I have the same issue here. The project runs fine on codesandbox, but
not on my machine (Windows as well). Feels like this is an OS issue...
—
Reply to this email directly, view it on GitHub
<#42402 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFMFIIC754VD3VI5UX7S23TWGQACPANCNFSM6AAAAAARV7NBPM>
.
You are receiving this because you commented.Message ID: <vercel/next.
***@***.***>
|
Good thinking. And yeah, just tested this on my linux machine (Ubuntu 16.04 lol) and it works as expected. A bit unfortunate. Hope this will get fixed soon. |
Still same issue here |
I have this issue as well |
I'm getting the same error [] info - Generating static pages (0/14654) TypeError: Cannot read properties of undefined (reading '')
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: <code>
} |
I'm getting this issue with both Link and Image when using server side components |
Same issue with the |
This was fixed in #42421 |
I have the same issue. |
Indeed, it appears that just updated next with the following version seems to work : |
Guys so this problem got fixed so should we close this issue? |
Installed a new windows machine to verify this: in 13.0.1 it's broken, 13.0.2 is fixed. Going to close this issue. If you're running into something similar @Anirban20001962 please open a new issue with a reproduction. Thanks! |
I got same error on next 13 on my window 10 but on my team linux and mac, it is working with this error.
|
Okay, Now I changed next to 13.0.4 from 13.0.1. This error gone. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
Experimental features used:
appDir
What browser are you using? (if relevant)
Chrome (107.0.5304.88) / FireFox (106.0.3)
How are you deploying your application? (if relevant)
next dev
Describe the Bug
Note: Experimental features used:
appDir
I have the following project setup (also see repo):
When I
yarn dev
and navigate tohttp://localhost:3000/route1
, all is fine. Then, when I use the navigation bar to navigate to the other route (route2) I sometimes get the following error:Routing back and forth between route1 and route2 gives me the error 100% of the time
However, one clue:
Note that I have
'use client'
on both pages for route1 and route2. When I remove either one of the'use client'
lines of the pages, the app works as expected. Why is this?Expected Behavior
No error should occur when routing manually using the navigation bar.
Link to reproduction
https://github.com/JustinPraas/next13
To Reproduce
yarn install
yarn dev
http://localhost:3000/route1
orhttp://localhost:3000/route2
The text was updated successfully, but these errors were encountered: