TypeError: Cannot read properties of null (reading 'useReducer') #70498
Unanswered
ashwanijha04
asked this question in
Help
Replies: 4 comments 3 replies
-
Here is my full stack trace:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Just out of curiosity, what Node.js version are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you been able to resolve the issue now, cos i'm having the same issues |
Beta Was this translation helpful? Give feedback.
1 reply
-
Fixed it with:
Seems to be a problem with where next is installed. Next is trying to pickup files from /opt/homebrew whereas it should pick it up from project folder. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I deployed a nextjs app one month ago on vercel which is still running fine. Today, I wanted to make some changes in it and see that My nextjs app mainline is randomly failing with the below error:
Note that I am not using useReducer directly in my app and also is evident from the stack trace.
On digging deeper, I tried to create a new NextJs project from the official doc using create-next-app@latest.
Surprisingly, that also gave me the same error. Apparently, all nextjs app is failing for me when I use the latest version.
Here is my package.json:
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions