error
Unanswered
West African Lion posted this in #help-forum
West African LionOP
Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
error TypeError: Cannot read properties of null (reading 'useContext')
You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
error TypeError: Cannot read properties of null (reading 'useContext')
10 Replies
West African LionOP
i get this error every time
but i dont change any code
its how next give me the project
npx create-next-app@latest
that's very weird. what does your repository look like by default? can you share a screenshot?
it would be better if we have a voice call
btw sry for the late response :D
West African LionOP
are you available @Dayo
yo! yeah sure