carbon-app / carbon

:black_heart: Create and share beautiful images of your source code
https://carbon.now.sh
MIT License
34.29k stars 1.9k forks source link

Can't install dependencies locally #1527

Open mlix8hoblc opened 1 week ago

mlix8hoblc commented 1 week ago

Describe the bug

$ npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: carbon@4.9.10
npm error Found: react@17.0.2
npm error node_modules/react
npm error   react@"^17.0.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0" from actionsack@0.0.15
npm error node_modules/actionsack
npm error   actionsack@"^0.0.15" 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 C:\Users\LENOVO\AppData\Local\npm-cache\_logs\2024-06-27T13_29_01_120Z-eresolve-report.txt

npm error A complete log of this run can be found in: C:\Users\LENOVO\AppData\Local\npm-cache\_logs\2024-06-27T13_29_01_120Z-debug-0.log

To Reproduce

git clone https://github.com/carbon-app/carbon.git
cd carbon
npm install

Expected behavior Install dependencies.

Screenshots image Nouveau projet (5)

Info (please complete the following information):

Code snippet
    npm install --force