qwik
qwik copied to clipboard
problem with Eslint upgrading to 0.12.1 on Windows
Qwik Version
0.12.1
Operating System (or Browser)
Windows
Node Version (if applicable)
16
Which component is affected?
Qwik City
Expected Behaviour
regular upgrade process to 0.12.1.
Actual Behaviour
error
Additional Information
I had the same problem when upgrading with 0.12.0. Thought this would get solved with 0.12.1 but it didn't, so I thought it was worth writing this issue... Got the same problem when uploading file to Cloudflare Pages: the built has been also failing with 0.12.0. I haven't yet tried with 0.12.1 but presume that it'll be same.
Remove the quotes in the npm script “lint”, it should do the trick! keeping this issue open as we can improve the qwik cli to handle it
thanks!
That is how it finally worked for others... :
"lint": "eslint src/**/*.ts*",
I'm sorry because I couldn't figure out that the problem was coming from package.json
line lint
from the initial eslint
error message: it was finally trivial, I should have figured out myself easily!