Hi, I am trying to setup MetaMask-extension repo in local. But, getting following error when I am running Yarn to install dependencies:
System Info:
OS: Windows 10
Node Version: 16.20.0
npm Version: 8.19.4
Please help
Hi, I am trying to setup MetaMask-extension repo in local. But, getting following error when I am running Yarn to install dependencies:
System Info:
OS: Windows 10
Node Version: 16.20.0
npm Version: 8.19.4
Please help
Hello @suraj !
Welcome to MetaMask community !
Are you using this guide?
The problem is probably related to the first run after switching from yarn1 to yarn3.
Also try these steps:
rm -rf node_modules
rm -rf .yarn/cache
yarn install (as opposed to yarn) at least once before using just yarn in the future.
If that doesn’t help, try deleting yarn.lock.
Hi @snwlprd.eth , Thanks for the help.
The issue was with yarn version I was trying to install dependencies with yarn v1 ![]()
After updating it to v3, installation worked fine ![]()
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.