austintoddj / canvas

Publishing on your own terms
http://trycanvas.app
MIT License
3.26k stars 521 forks source link

Does not work if you have Vue3 installed #1400

Open kevindees opened 11 months ago

kevindees commented 11 months ago

Is there an existing issue for this?

Current Behavior

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: vue@2.7.15
npm ERR! node_modules/vue
npm ERR!   dev vue@"^2.6.12" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.0.0" from @inertiajs/vue3@1.0.14
npm ERR! node_modules/@inertiajs/vue3
npm ERR!   dev @inertiajs/vue3@"^1.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Expected Behavior

No response

Steps To Reproduce

npm install

Environment

No response

Anything else?

No response

austintoddj commented 10 months ago

Hi @kevindees - is this on a fresh Laravel install? And are you referring to the core package, or Canvas UI?

kevindees commented 10 months ago

This is a fresh Laravel v10.38 install using Jetstream and Inertia, with migrations already running.