New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error on Windows10 #10748
Comments
I am having this same error trying to build it currently were you ever able to get around this? |
Facing the exact same issue on Windows 10 using node v14.15.1. Any update from dev team would be great as this stops contributors from taking part (though am curious how the dev team isn't facing this issue, unless this is specific to Windows 10) |
I have the same issue on Windows 10 using Node 14.17 |
I am having this same error trying to build it currently were you ever able to get around this? |
I installed Ubuntu on a VM and built the files in there |
any progess? |
I did meet same error like this. |
There is a bug we need to fix in our build system. Before we get the fix merged, you might find that the code change on this branch resolves the issue: https://github.com/MetaMask/metamask-extension/compare/lavamoat-dev-optional?expand=1 Edit: this will allow you to build MetaMask by running |
I can't run your method. |
@HappyCodingLover @seniordev21 I updated the comment. If that code change is applied locally, you should be able to build MetaMask by running |
I switched to the But how do I run this dev build on my browser? If I make code changes and want to view them in my browser, how can I do that? Sorry if this is a stupid question, I couldn't find this info on the README file. Edit: Found it immediately after I posted this comment. For anyone else stuck on this, the details are in the Internal Docs |
I make the same mistake by running "yarn dist"
|
I have the same issue in Ubuntu. |
Hello, I replaced the code by the suggested, but i got the same error, any updates on this issue? |
I also face this issue for
|
Is anyone still having this problem? After PR #16550 was merged to We should close this issue soon if nobody reports anything. |
@HowardBraham I'm having that issue but I'm on Mac with yarn 3 and node v16 |
@thoth-seshat Are you up to date on the |
Hi! |
@AnnaBarotova Try a |
I am trying to build Metamask9.2.1 on windows 10 using Nodejs 14.15
yarn run v1.22.4
$ lavamoat development/build/index.js
(Error#1)
Error#1: LavaMoat - required package not in whitelist: package "@gulp-sourcemaps\map-sources" requested "through2" as "through2"
at requireRelative (LavaMoat/core/kernel:414:15)
at requireRelativeWithContext (LavaMoat/core/kernel:366:16)
at Object.eval (
\work\metamask-extension\node_modules@gulp-sourcemaps\map-sources\index.js:4:15)\work\metamask-extension\node_modules\gulp-sourcemaps\index.js:7:15)at internalRequire (LavaMoat/core/kernel:353:25)
at requireRelative (LavaMoat/core/kernel:394:27)
at requireRelativeWithContext (LavaMoat/core/kernel:366:16)
at Object.eval (
at internalRequire (LavaMoat/core/kernel:353:25)
at requireRelative (LavaMoat/core/kernel:394:27)
at requireRelativeWithContext (LavaMoat/core/kernel:366:16)
The text was updated successfully, but these errors were encountered: