captbaritone / webamp

Winamp 2 reimplemented for the browser
https://webamp.org
MIT License
10.1k stars 672 forks source link

Unable to build from source code #1221

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello,

I've just downloaded source from master, fresh install, and tried npm install but got this error:

➜  webamp git:(master) npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: webamp-monorepo@undefined
npm ERR! Found: eslint@8.27.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^8.14.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^3 || ^4 || ^5 || ^6 || ^7" from eslint-plugin-react@7.20.0
npm ERR! node_modules/eslint-plugin-react
npm ERR!   dev eslint-plugin-react@"^7.16.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.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /Users/siglesias/.npm/_logs/2023-05-23T07_44_33_359Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/siglesias/.npm/_logs/2023-05-23T07_44_33_359Z-debug-0.log

Currently using macos and node v16.18.1

Thanks!

ghost commented 1 year ago

Ok, uses Yarn:

yarn install yarn run deploy

:)