At the time of writing, I believe that Heroku installed only the production dependencies by default, ignoring the development dependencies under devDependencies. npm install --only=dev had to be added for the project to build correctly. I think this default behavior has been changed so it may no longer be needed!
npm install --only=dev
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.