Closed codex-corp closed 3 years ago
@glennjacobs
We stuck here and we cannot find any help or tips to catch the problem.
me too
error occurs after "npm run dev" command
Hi @codex-corp
Looks like something has happened on a nuxt release. Can you try and set the nuxt version explicitly to 2.15.3
in the package.json
file, reinstall node_modules
to see if it fixes the issue for now.
thank you sir for your valuable information my error Is fixed
Same Issues with me as well... I tried Installing the latest version of nuxt, i.e. 2.15.4, also tried explicitly 2.15.3 but nothing worked... I think the issue might be outdated packages used in the hub-core files... such as css-loader, sass-loader, postcss etc... please look into it... and let me know
@drgnlrd Was you using npm
or yarn
? We will be looking at the packages and streamlining everything soon.
Same Issues with me as well... I tried Installing the latest version of nuxt, i.e. 2.15.4, also tried explicitly 2.15.3 but nothing worked... I think the issue might be outdated packages used in the hub-core files... such as css-loader, sass-loader, postcss etc... please look into it... and let me know
It does work for me, but when tried to login I got network error.
@drgnlrd Was you using
npm
oryarn
? We will be looking at the packages and streamlining everything soon.
I was using npm, because for some reason yarn doesn't respond on my system, but does that make a difference?
I wasn't so lucky, after downgrading nuxt, the css doesn't seem to compile either. I used NPM on Windows.
ERROR in ./assets/css/app.scss (./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!./assets/css/app.scss)
Module not found: Error: Can't resolve './@uppy/core/dist/style.css' in 'C:\hub-master\assets\css'
ERROR in ./assets/css/app.scss (./node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!./node_modules/postcss-loader/src??ref--7-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!./assets/css/app.scss)
Module not found: Error: Can't resolve './@uppy/drag-drop/dist/style.css' in 'C:\hub-master\assets\css'
ERROR in ./assets/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!./node_modules/postcss-loader/src??ref--3-oneOf-1-2!./assets/css/tailwind.css)
Module not found: Error: Can't resolve './tailwindcss/base' in 'C:\hub-master\assets\css'
ERROR in ./assets/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!./node_modules/postcss-loader/src??ref--3-oneOf-1-2!./assets/css/tailwind.css)
Module not found: Error: Can't resolve './tailwindcss/components' in 'C:\hub-master\assets\css'
ERROR in ./assets/css/tailwind.css (./node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!./node_modules/postcss-loader/src??ref--3-oneOf-1-2!./assets/css/tailwind.css)
Module not found: Error: Can't resolve './tailwindcss/utilities' in 'C:\hub-master\assets\css'
We've made some changes to the dependencies of the hub packages. Hopefully this will clear some things up and solve the issues for you.
This also means you should be able to use the latest version of nuxt. Just bring all your @getcandy
dependencies to 0.12.9
and then 🤞 it will sort it.
Also try using Yarn over NPM if you're still having an issue.
the package files for the modules have been simplified. Try using 0.12.11
if you still have issues, feel free to reopen.
Describe the bug
I just run
yarn dev
on windows 10 and WSL2 and it's compiled the project with errorsNode v14.16.0 and Node v15.0.0 Nuxtjs v2.15.4
`ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
Screenshots
@alecritson alecritson @glennjacobs