Vue.js components cannot be found by Netlify - case sensitive

I am trying to deploy my Vue.js project using Netlify, but I get the following error when running the build command (npm run build) This dependency was not found: @/components/StockTasksTable.vue. While when I build this locally, it all works fine. Does anyone have an idea what I am doing wrong?

Hi Stefan93, I think what’s happening is related to case sensitivity, as mentioned in this post. Have you changed the case on that file at one point? You may need to rename the file something different and then rename it again to what you need it to be. Hope that helps!

You were completely right, thanks!

1 Like