QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.87k stars 1.31k forks source link

[🐞] Unable preview the Getting Started project #7029

Closed Sebosek closed 3 weeks ago

Sebosek commented 3 weeks ago

Which component is affected?

Starters / CLI

Describe the bug

I went through the getting started project, and the last step with application preview failed on the following error:

✓ Built client modules

Oops! Something went wrong! :(

ESLint: 8.57.0

Error: Failed to load plugin 'qwik' declared in '.eslintrc.cjs': eslint-plugin-qwik tried to access @typescript-eslint/utils, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: @typescript-eslint/utils (via "@typescript-eslint\utils")
Required by: eslint-plugin-qwik@virtual:fc257198df6506e3a085d9fd41af3d2edc375d3d2b3881fc96066482ad10c9fbfa6b28c157568aeeba47b92e301e02bd3fec65e950d176dd4bcbe377d42975c6#npm:1.9.1 (via C:\Projects\joke-app\.yarn\__virtual__\eslint-plugin-qwik-virtual-919cb052dd\3\Users\SBusek\AppData\Local\Yarn\Berry\cache\eslint-plugin-qwik-npm-1.9.1-f3fa5bae99-10c0.zip\node_modules\eslint-plugin-qwik\dist\)

Require stack:
- C:\Projects\joke-app\.yarn\__virtual__\eslint-plugin-qwik-virtual-919cb052dd\3\Users\SBusek\AppData\Local\Yarn\Berry\cache\eslint-plugin-qwik-npm-1.9.1-f3fa5bae99-10c0.zip\node_modules\eslint-plugin-qwik\dist\index.js
- C:\Users\SBusek\AppData\Local\Yarn\Berry\cache\@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10c0.zip\node_modules\@eslint\eslintrc\dist\eslintrc.cjs
Referenced from: C:\Projects\joke-app\.eslintrc.cjs
    at require$$0.Module._resolveFilename (C:\Projects\joke-app\.pnp.cjs:11372:13)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at require$$0.Module._load (C:\Projects\joke-app\.pnp.cjs:11263:31)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (C:\Projects\joke-app\.yarn\__virtual__\eslint-plugin-qwik-virtual-919cb052dd\3\Users\SBusek\AppData\Local\Yarn\Berry\cache\eslint-plugin-qwik-npm-1.9.1-f3fa5bae99-10c0.zip\node_modules\eslint-plugin-qwik\dist\index.js:4:38863)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at require$$0.Module._extensions..js (C:\Projects\joke-app\.pnp.cjs:11415:33)
    at Module.load (node:internal/modules/cjs/loader:1203:32)

undefined
undefined

vite v5.3.5 building SSR bundle for production...
✓ 19 modules transformed.
server/entry.preview.js  155.01 kB
✓ built in 701ms

Node: 18.20.4 Yarn: 4.5.1

Reproduction

https://github.com/Sebosek/qwik-joke-app

Steps to reproduce

Run yarn run preview

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12800H
    Memory: 34.94 GB / 63.67 GB
  Binaries:
    Node: 18.20.4 - ~\AppData\Local\Volta\tools\image\node\18.20.4\node.EXE
    Yarn: 4.5.1 - ~\AppData\Local\Volta\tools\image\yarn\4.5.1\bin\yarn.CMD
    npm: 10.7.0 - ~\AppData\Local\Volta\tools\image\node\18.20.4\npm.CMD
  Browsers:
    Edge: Chromium (129.0.2792.52)
    Internet Explorer: 11.0.22621.3527

Additional Information

No response