Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move qwik packages qwik-themes to devDependencies error after install #6

Open
Shane-Donlon opened this issue Dec 5, 2024 · 0 comments

Comments

@Shane-Donlon
Copy link

Hey everyone,

after starting a new qwik app (blank project v1 and v2)

I run "npm install qwik-themes" when I try to load the dev server I get the below error

failed to load config from {location of stuff on my computer} \qwik-app\vite.config.ts
11:26:51 [vite] Move qwik packages qwik-themes to devDependencies
11:26:51 [vite] server restart failed

package.json file file after install

  "dependencies": {
    "qwik-themes": "^0.3.0"
  }

solution in root package.json move from "dependencies" to "devDependencies"

  "devDependencies": {
    "qwik-themes": "^0.3.0", 
{... default packages} 
  }

System info below
System:
OS: Windows 11 10.0.22631
CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
Memory: 522.20 MB / 7.74 GB
Binaries:
Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.14.2 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
npmPackages:
@builder.io/qwik: ^1.11.0 => 1.11.0
@builder.io/qwik-city: ^1.11.0 => 1.11.0
typescript: 5.4.5 => 5.4.5
undici: * => 7.1.0
vite: 5.3.5 => 5.3.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant