linnovate / meanio

meanio core module
MIT License
54 stars 73 forks source link

Error: ENOENT when deploy to Heroku #50

Closed davecyen closed 8 years ago

davecyen commented 9 years ago

I'm encountering an error that causes my heroku deployments to fail:

Error: ENOENT, no such file or directory '/app/bower_components/jquery/dist/jquery.min.map'

Prior to deploying, I've tried various combinations of bower install, bower cache clean, npm cache clean, and npm install. Sometimes it will successfully deploy, other times it will fail. I haven't been able to find a consistent solution - appears random. Has anyone else encountered this issue?

davecyen commented 9 years ago

I tried to run "npm install --allow-root" as suggested in the FAQ, but no luck (https://github.com/linnovate/mean/wiki/Faq). Can anyone help?

clowenhg commented 8 years ago

Latest versions of Mean are using webpack, which removes the need for bower_components