bdougie / nuxt-starter

This is a template made from the cli
1 stars 1 forks source link

no longer builds on netlify #2

Open fool opened 6 years ago

fool commented 6 years ago

Using the deploy to netlify button fails to build.

I thought it might be something to do with case sensitivity, but the only mixed-case filename I could find in the project is the Footer.vue and renaming it and the reference to it did not seem to help, so I think it's something deeper.

You can reproduce by trying to 'deploy to netlify' from staticgen.com

MartinX3 commented 6 years ago

Used this function to create a basic project. Deploy results in an error

7:12:13 PM:  + 3 hidden assets
7:12:13 PM: ERROR in ./node_modules/babel-loader/lib?{"babelrc":false,"cacheDirectory":false,"presets":[["/opt/build/repo/node_modules/babel-preset-vue-app/dist/index.common.js",{"targets":{"ie":9,"uglify":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
7:12:13 PM: Module not found: Error: Can't resolve '~components/Footer.vue' in '/opt/build/repo/layouts'
7:12:13 PM:  @ ./node_modules/babel-loader/lib?{"babelrc":false,"cacheDirectory":false,"presets":[["/opt/build/repo/node_modules/babel-preset-vue-app/dist/index.common.js",{"targets":{"ie":9,"uglify":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue 9:0-46
7:12:13 PM:  @ ./layouts/default.vue
7:12:13 PM:  @ ./.nuxt/App.js
7:12:13 PM:  @ ./.nuxt/index.js
7:12:13 PM:  @ ./.nuxt/client.js
7:12:13 PM:  ERROR
7:12:13 PM:   Error: Webpack build exited with errors
7:12:13 PM: