Static GitHub Issues

[170] Nuxt not building on Windows machine

prev: Setting head data from ajax request on page.
next: global fetch

I have just installed adonuxt (which basically is Adonis.js + nuxt). Unfortunately, nuxt is not building on Windows machine.

When I run npm run build (which stands for node ./ace nuxtbuild (which stands for webpack, I guess)), all I get is a bunch of errors in my terminal.

IMO, these errors are related with Windows backslash.

All the errors state the same thing.

ERROR in ./.nuxt/App.vue
Module not found: Error: Can't resolve 'C:UsersGustavsDocumentsWWWproject_name
ode_modulesue-loaderlibcomponent-normalizer' in 'C:\Users\Gustavs\Documents\WWW\project_name\.nuxt'
 @ ./.nuxt/App.vue 4:16-123
 @ ./.nuxt/index.js
 @ ./.nuxt/server.js

As you can see, path is resolved incorrectly and backslashes are ignored. Also the letter n in node_modules path is ignored because of that backslash.

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