vue-termui icon indicating copy to clipboard operation
vue-termui copied to clipboard

New install fails when installing dependencies

Open zwik opened this issue 2 years ago • 2 comments

Creating a new project works fine, but as soon as you want to install the dependencies you get errors about dependencies that cannot be resolved. See the error log below:

npm install  ✔  16.15.0 Node  10:56:46 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/vite npm ERR! dev vite@"^3.1.3" from the root project npm ERR! peer vite@"^3.1.3" from @vue-termui/[email protected] npm ERR! node_modules/@vue-termui/cli npm ERR! dev @vue-termui/cli@"*" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vite@"^2.5.10" from @vitejs/[email protected] npm ERR! node_modules/@vitejs/plugin-vue npm ERR! dev @vitejs/plugin-vue@"^2.2.4" 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. npm ERR! npm ERR! See /home/user/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /home/user/.npm/_logs/2022-10-27T08_56_48_899Z-debug-0.log

zwik avatar Oct 27 '22 08:10 zwik

we need to upgrade the starter deps for vite and vite vue plugin

posva avatar Oct 27 '22 09:10 posva

I've created a PR for that just now :) .

zwik avatar Oct 27 '22 09:10 zwik