Uniswap / v3-core

🦄 🦄 🦄 Core smart contracts of Uniswap v3
https://uniswap.org
Other
4.38k stars 2.68k forks source link

Failed to install packages through `yarn install` #608

Closed yihan2099 closed 1 year ago

yihan2099 commented 1 year ago

node.js version: 14.21.2

(base) yihanli@neil-2 uniswap-interface % yarn install
yarn install v1.22.19
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.47.0.tgz: incorrect data check".
info If you think this is a bug, please open a bug report with the information provided in "/Users/yihanli/Documents/GitHub/uniswap-interface/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. 
gautameminence commented 1 year ago

hey @neil0x46dc i am using node version - v16.19.1 yarn version - v1.22.19 its working

foryarninstall

yihan2099 commented 1 year ago

it works now thank you!

Parabellum577 commented 1 year ago

I had the exact same issue. The following steps helped:

Needed to update node version Run npm update npm install