-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.
Description
Verify canary release
- I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Home
Binaries:
Node: 16.17.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.3.4
eslint-config-next: 13.0.0
react: 17.0.2
react-dom: 17.0.2
Which area of Next.js is affected? (leave empty if unsure)
Other
Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster
https://github.com/splashsaver/splashsaver.com
To Reproduce
- Clone the GitHub repository (https://github.com/splashsaver/splashsaver.com).
- Install the missing dependencies with
yarn install. - Build the monorepo with
yarn build.
Describe the Bug
Whenever I try to build my Turborepo project I get the following error.
TypeError: Cannot read properties of null (reading 'useContext')
More info:
landing:build: > Build error occurred
landing:build: Error: Export encountered errors on following paths:
landing:build: /
landing:build: /_error: /404
landing:build: /_error: /500
landing:build: /blog
landing:build: /privacy
landing:build: /team
landing:build: /terms
I get the same error in my web app but with the respective paths, the docs app builds successfully.
When I run the Turborepo project locally the page returns an Internal Server Error message and I get the following error.
TypeError: Cannot read properties of null (reading 'useReducer')
Expected Behavior
Successful builds.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.
