Skip to content

Error on Heroku deployment (Module not Found) #15

@umerarif01

Description

@umerarif01

Whenever I push my app to Heroku, the terminal give me this error:

Creating an optimized production build...
remote:        Failed to compile.

` Module not found: Error: Can't resolve './pages/Dashboard' in '/tmp/build_3fe5f3dd/frontend/src'`

My App is working absolutely fine in development and it also builds the app perfectly when I run the npm run build command

Please help!!!

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