Static GitHub Issues

[1128] Babel Loader Error during nuxt generate

prev: Nuxt won't install, postinstall errors for opencollective
next: How to load modules before plugins in nuxt.config

Greetings,

I am attempting to deploy a static version of my app to gitlab pages, I noticed the build is failing due to babel-loader barking about not being able to find '~components/MyComponent.vue'

The component is capitalized so i'm not sure if that's part of the problem but running the app locally with npm run dev the issue does not exist.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c990">#c990</a>)</em></sub></div>