[V5] How do I resolve this Heroku deployment error? #2192
-
When deploying to Heroku using
I have tried to follow the steps in the Heroku docs as well as this previous discussion: link This is my package.json
And this is my Procfile
EDIT |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Do you have git installed on the system? |
Beta Was this translation helpful? Give feedback.
-
I had the same problem, try deleting package-lock.json. If that doesn't work clear your build cache. There's currently a dependency error in package-lock.json that should be fixed soon. |
Beta Was this translation helpful? Give feedback.
-
I had this problem today and I realized that I was using node v15 on my local env and Heroku was deploying the app on Node 16. Just specified the node version on package.json and the deploy is working fine now:
|
Beta Was this translation helpful? Give feedback.
I had this problem today and I realized that I was using node v15 on my local env and Heroku was deploying the app on Node 16.
Just specified the node version on package.json and the deploy is working fine now: