Ionic 2 cordova.js not found in Heroku


#1

Once I run files locally through “ionic serve” or “npm start”, its working.
after pushing to heroku server its not display anything and getting below error

code can be found at https://github.com/asimkh/apps/tree/haz-2

server not able to find “cordova.js” then if i updated express link e.g.
from “app.use(express.static(‘www’));” to
app.use(express.static(‘platforms/android/assets/www’));

then still locally somehow working but only its not working.




#2

I’m having a similar issue now - did you ever get this resolved?


#3

Have you solved the problem? Same thing happening here.