vikejs / vike-node

🔨 Node integration for Vike
MIT License
23 stars 3 forks source link

Is vite 6.x supported? #23

Open jasonhilldm opened 2 days ago

jasonhilldm commented 2 days ago

I am trying to add vike-node to a test project with vike 0.4.205 and vite 6.0.1 and I get a dependency conflict.

npm error code ERESOLVE 
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: my-app@0.0.1
npm error Found: vite@6.0.1
npm error node_modules/vite
npm error   dev vite@"^6.0.1" from the root project
npm error   peer vite@">=5.1.0" from vike@0.4.205
npm error   node_modules/vike
npm error     vike@"^0.4.205" from the root project
npm error     peer vike@"^0.4.198" from vike-node@0.2.0
npm error     node_modules/vike-node
npm error       vike-node@"*" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vite@"^5.0.10" from vike-node@0.2.0
npm error node_modules/vike-node
npm error   vike-node@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
brillout commented 2 days ago

@magne4000 I guess we only need to loosen the peer dependency semver range?

magne4000 commented 1 day ago

Probably yes, I'll take a look this weekend

magne4000 commented 6 hours ago

@jasonhilldm should be fixed by 0.2.1