Heroku showing error “Cannot find package ‘express’ imported from /app/backend/dist/server.js” when trying to deploy
I was trying to deploy my first typescript app on heroku. But, I ended up with 2 error first the h=10 code error which I looked up all over the internet and tried all the fixes but the error still persists. the Other error is “Cannot find package ‘express’ imported from /app/backend/dist/server.js
” I have checked node modules the app is wroking fine locally but not when I deploy it to heroku.