Uniswap / v2-core

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

Error when installing on node version 12.16.2 #107

Closed vinhyenvodoi98 closed 2 years ago

vinhyenvodoi98 commented 3 years ago

Problem

I got an error when running yarn command in node version 12.16.2

warning Error running install script for optional dependency: "/home/ubuntu/Desktop/test_for_friend/uniswap-v2-core/node_modules/scrypt: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments: 

Solution

I have to use node version 10.16.3 instead of version 12.16.2 . so it would be nice to have detailed version instructions in Readme.md

charles-dr commented 2 years ago

I use Windows 10, could install the packages on node version 12.16.1, which was mentioned here.