Uniswap / v2-core

🦄 🦄 Core smart contracts of Uniswap V2
https://uniswap.org/docs
GNU General Public License v3.0
2.93k stars 3.15k forks source link

yarn test failed #95

Closed tolak closed 4 years ago

tolak commented 4 years ago

Hi, when i followed the README to test the code, i got the following errors after i issuing command "yarn test",:

image

hashparty1 commented 4 years ago

My system (18.7.0 Darwin Kernel Version 18.7.0) has some trouble building scrypt from the package.json Try: rm -rf node_modules && yarn add scrypt && yarn install && yarn test For some reason I think it builds a more compatible version that may be slightly different than what is in the package.json but all the tests seem to pass and I haven't encountered any other version compatibility issues yet.

moodysalem commented 4 years ago

Sometimes you have to yarn install twice because of scrypt failing the first time, won't be the case in future versions.

HALF-XD commented 2 years ago

yarn install

Have you solved the problem yet? I also have this problem now, the above two methods are not helpful, may I ask how do you solve it?