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.