Unable to build project, useContext in _error.tsx?
Answered
Snowshoe posted this in #help-forum
SnowshoeOP
Hi, i am trying to build my project, but it appears to be somehow bugged? I don't see how and why it has appeared, and it's not any pages that i even use. And i use app router.
Answered by Snowshoe
Nvm, fixed it, it was due to i had react and react-dom on my root package.json and my apps/web/package.json in my turborepo project.
removed the root dependencies, and it worked again.
removed the root dependencies, and it worked again.
2 Replies
SnowshoeOP
SnowshoeOP
Nvm, fixed it, it was due to i had react and react-dom on my root package.json and my apps/web/package.json in my turborepo project.
removed the root dependencies, and it worked again.
removed the root dependencies, and it worked again.
Answer