ajnart / subs

Subs ! Track your subscriptions easily
https://subs.ajnart.fr/
361 stars 19 forks source link

Dependency issue setting up dev environment #1

Open matt852 opened 1 week ago

matt852 commented 1 week ago

I just tried cloning this down and am getting a dependency error right away. I'm on Mac OSX 14.6.1.

➜  subs git:(main) npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: shawty@0.1.0
npm error Found: date-fns@4.1.0
npm error node_modules/date-fns
npm error   date-fns@"^4.1.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer date-fns@"^2.28.0 || ^3.0.0" from react-day-picker@8.10.1
npm error node_modules/react-day-picker
npm error   react-day-picker@"8.10.1" 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.
npm error
npm error
npm error For a full report see:
npm error /Users/user/.npm/_logs/2024-10-09T12_16_31_931Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/user/.npm/_logs/2024-10-09T12_16_31_931Z-debug-0.log
bakudan-otaku commented 1 week ago

I got it to run with npm install --legacy-peer-deps, I don't know if this is a good idea.

npm is running inside the default node docker container:

$ npm --version
10.8.3