Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Heroku deployment (Module not Found) #15

Open
umerarif01 opened this issue Sep 1, 2022 · 0 comments
Open

Error on Heroku deployment (Module not Found) #15

umerarif01 opened this issue Sep 1, 2022 · 0 comments

Comments

@umerarif01
Copy link

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!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant