qwik icon indicating copy to clipboard operation
qwik copied to clipboard

problem with Eslint upgrading to 0.12.1 on Windows

Open tidiview opened this issue 2 years ago • 2 comments

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 eslint-problem-on-windows

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.

tidiview avatar Oct 30 '22 18:10 tidiview

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

manucorporat avatar Oct 30 '22 19:10 manucorporat

thanks! That is how it finally worked for others... : "lint": "eslint src/**/*.ts*",

eslint-problem-on-windows

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!

tidiview avatar Oct 30 '22 20:10 tidiview