'Heroku App Crashed (Code: H10) - Cannot find module
I just pushed some page updates to my website built in Vue.js and Node.js. The pages I updated are not related to any of the config files or app.js or node module, and I did not make any changes to them for this update.
After build success, I cannot open my app and Heroku log throws this error message:
- Cannot find module 'connect-history-api-fallback'
- require stack:
- /app/app.js
- /app/bin/www
I reinstalled 'connect-history-api-fallback' and tried deployment again, but the same error is still there.
How should I fix this issue?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
