[Vuejs]-Heroku build error while deploying MEVN app, why is heroku showing babel-loader and vue-loader errors?

3👍

Well it turns out the issue here is with filename, I feel so embarrassed🙈. Back when I created Vue project, I named my components with starting letter capitalized and later I decided to name my components with small letters. I changed it locally but then GitHub repo won’t change the components name.

for eg. you have foobar.vue locally and GitHub repo has ‘Foobar.vue`, GitHub will ignore the filename change.

I’m not really sure, but I figured out that, Heroku while deploying pulls project from Github repo. So it was not able to find my components “welcomeInfo” and “carousel” which were “WelcomeInfo” and “Carousel” in the remote repos.

👤Junaid

Leave a comment