Skip to content

Property 'dehydratedState' does not exist on type '{}' deploying frontend to heroku #202

@foysalremon

Description

@foysalremon

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

  1. cd to frontend folder by running cd packages/frontend.
  2. Run heroku login on terminal to login to heroku.
  3. Run heroku git:remote -a project-name to connect project with heroku (change project-name with your project name on heroku).
  4. Run git add . to add all the file.
  5. Run git commit -am "make it better" to commit changes.
  6. Run git push heroku master to push to heroku and wait for it to start the building process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions