dflex-js/dflex

npm install fails

ddenev opened this issue · 2 comments

ddenev commented

I have cloned the repo and run npm install to setup the project but got this error:

D:\Projects\External\dflex>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: dflex-monorepo@undefined
npm ERR! Found: vite@4.4.9
npm ERR! node_modules/vite
npm ERR!   dev vite@"^4.4.9" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^2" from vite-plugin-replace@0.1.1
npm ERR! node_modules/vite-plugin-replace
npm ERR!   dev vite-plugin-replace@"^0.1.1" 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!
npm ERR! For a full report see:
npm ERR! C:\Users\......\AppData\Local\npm-cache\_logs\2023-10-03T13_05_02_947Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\......\AppData\Local\npm-cache\_logs\2023-10-03T13_05_02_947Z-debug-0.log

What am I doing wrong? I want to run the playgrounds - how can I do that?

I am using pnpm for package management. To get started, simply clone the repository and run pnpm i to install all the necessary dependencies. Then, navigate to the desired folder and execute pnpm dev to kickstart the development process. Also, I will merge the updated version of Vue Playground soon #731.

ddenev commented

ah! I didn't know I need to use pnpm! Thank you for explaining!