#Qwik/Eslint issue

40 messages · Page 1 of 1 (latest)

cold pier
#

I am ahaving trouble tracking down what is causing this type error. It is preventing my project from building. Everything seems to work in dev mode. Here is a screenshot of the errors I am seeing. I've tried just turning "qwik/use-method-usage" off but that doesn't seem to help.

cold pier
#

Qwik linter issue

#

Qwik/Eslint issue

gentle ruin
gentle ruin
#

or qwik-plugin-eslint I guess

#

maybe reverting to 1.2.19 on that plugin

cold pier
gentle ruin
#

Would make a github issue on it if you haven't already

brave lance
#

Have you tried removing "plugin:qwik/recommended",
just to see?

#

@cold pier

cold pier
#

I'll try that

cold pier
#

@brave lance that didn't seem to help. Its causing my build to hang.

brave lance
#

You could try to upgrade to 1.3 if you're not already

cold pier
#

I think I'm already on 1.3 but I'll check tomorrow. Also I upgraded from a pre 1.0 release of qwik so it's possible one of my packages are out of date or not compatible

brave lance
#

If still no good you can try to downgrade to 1.2.15

#

But should be good if your eslint and qwik are up to date

cold pier
#
        "@builder.io/qwik": "1.3.0",
        "@builder.io/qwik-city": "1.3.0",
        "@fastify/compress": "^6.2.1",
        "@fastify/static": "^6.10.1",
        "@fingerprintjs/fingerprintjs": "^3.4.1",
        "@lux/dockerize": "*",
        "@lux/core-api": "*",
        "@tailwindcss/forms": "^0.5.3",
        "@trpc/client": "^10.4.3",
        "@types/animejs": "^3.1.7",
        "@types/compression": "^1.7.2",
        "@types/eslint": "8.44.4",
        "@types/express": "^4.17.19",
        "@types/inputmask": "^5.0.3",
        "@types/node": "^18.16.19",
        "@types/ws": "^8.5.4",
        "@typescript-eslint/eslint-plugin": "^6.7.5",
        "@typescript-eslint/parser": "^6.7.5",
        "animejs": "^3.2.1",
        "autoprefixer": "10.4.14",
        "compression": "^1.7.4",
        "daisyui": "^2.50.0",
        "dayjs": "^1.11.8",
        "dotenv": "^16.0.3",
        "eslint": "^8.28.0",
        "eslint-plugin-qwik": "^1.3.0",
        "express": "4.18.2",
        "inputmask": "^5.0.7",
        "postcss": "^8.4.31",
        "prettier": "^3.0.3",
        "prettier-plugin-tailwindcss": "^0.5.4",
        "superjson": "^1.12.0",
        "tailwindcss": "^3.3.3",
        "typescript": "^4.8.4",
        "undici": "^5.26.0",
        "vite": "^4.4.11",
        "vite-tsconfig-paths": "^4.2.1",
        "winston": "^3.0.0",
        "winston-cloudwatch": "^6.1.1",
        "ws": "^8.12.0"
    },```
#

These are my dependencies

#

@brave lance

brave lance
cold pier
#

@brave lance I figured out why it was crying about elint errors. I am using turbo repo. I have a eslint config package that is installed at the root of the project and in some other packages. My qwik app is using its own eslint config which is all up to date but the eslint config at the root was out of date. I updated it and that seems to be working, but its still hanging on build.server. I am using the node express adapter.

#

It hangs on "Starting Qwik City SSG"

brave lance
#

Are you using shiki?

#

We had build hang issues with it

cold pier
#

Probably not since I don't know what that is

#

This started after updating from

"@builder.io/qwik": "0.20.0",
"@builder.io/qwik-city": "0.0.128"
#

to

"@builder.io/qwik": "1.3.0",
"@builder.io/qwik-city": "1.3.0"
brave lance
#

yeah that's a quite a bump x)

gentle ruin
brave lance
#

Perhaps try with an older version like 1.2.0 and try your way back to 1.3

gentle ruin
#

in SSG

gentle ruin
#

I suspected it was nx, but wasn't able to debug further

brave lance
#

so just NX with ssg? 😬