Hi,
when I run “yarn dist” as in readme doc for metamask repository, I receive this error:
Error#1: LavaMoat - required package not in whitelist: package “@babel\core” requested “gensync” as “gensync”
at requireRelative (LavaMoat/core/kernel:518:15)
at requireRelativeWithContext (LavaMoat/core/kernel:470:16)
at _gensync (C:\metamask-test\metamask-extension\node_modules@babel\core\lib\gensync-utils\async.js:13:39)
at Object.eval (C:\metamask-test\metamask-extension\node_modules@babel\core\lib\gensync-utils\async.js:26:26)
at internalRequire (LavaMoat/core/kernel:457:25)
at requireRelative (LavaMoat/core/kernel:498:27)
at requireRelativeWithContext (LavaMoat/core/kernel:470:16)
at Object.eval (C:\metamask-test\metamask-extension\node_modules@babel\core\lib\config\caching.js:23:14)
at internalRequire (LavaMoat/core/kernel:457:25)
at requireRelative (LavaMoat/core/kernel:498:27)
I have tried to reinstall babel core package using nodejs 14 which did not help,
I was not able to figure out how to fix this error.
it’s happening on the windows machine.
Any ideas? Thanks