What version of Node.js are you using?
16.16.0
What version of Yarn are you using?
1.22.19
What browser are you using?
Chrome
What operating system are you using?
Windows
Describe the Bug
While building on heroku CLI it failed to build and produce issue about line 44 on pages/_app.tsx. It says:
Type error: Property 'dehydratedState' does not exist on type '{}'.
Expected Behavior
Successfully build and able to browse live app
Steps to reproduce
- cd to frontend folder by running
cd packages/frontend.
- Run
heroku login on terminal to login to heroku.
- Run
heroku git:remote -a project-name to connect project with heroku (change project-name with your project name on heroku).
- Run
git add . to add all the file.
- Run
git commit -am "make it better" to commit changes.
- Run
git push heroku master to push to heroku and wait for it to start the building process.