Skip to content
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

[Bug]: Code in develop branch showing white screen and failing to run after build and install #13318

Closed
chirag64 opened this issue Jan 14, 2022 · 9 comments · Fixed by #16550
Closed
Labels
area-buildSystem related to our build system

Comments

@chirag64
Copy link

Describe the bug

I am trying to build and run the MetaMask extension on my Firefox browser, but after loading it in Firefox, it just shows a white screen. On using the browser's Inspect option, I keep getting the console errors: 'Uncaught ReferenceError: LavaPack is not defined'

image

image

Steps to reproduce

  1. git clone the repository: https://github.com/MetaMask/metamask-extension and checkout the branch develop
  2. Run yarn setup
  3. Run yarn start
  4. After the build starts showing messages .js files being reloaded, open Firefox and go to about:debugging#addons. Click the Load Temporary Add-on... and select the file metamask-extension/dist/firefox/manifest.json
  5. Once the MetaMask addon shows up in the Firefox toolbar, click it to open and use it

Error messages or log output

Uncaught ReferenceError: LavaPack is not defined

Version

develop branch, commit hash - 58ff673

Build type

Other (please specify exactly where you obtained this build in "Additional Context" section)

Browser

Firefox

Operating system

Windows

Hardware wallet

No response

Additional context

No response

@ForestTigerKing
Copy link

same issue on chrome and firefox

@Gtonizuka
Copy link
Contributor

@chirag64 @ForestTigerKing did you try to reload the extension manually from the Chrome/firefox extension store and eventually remove it and reinstall it?

@chirag64
Copy link
Author

@Gtonizuka in my case, the firefox extension from the firefox extension store works just fine. But after i remove it and try to install/load the extension from the develop branch, I am able to reproduce the above issue

@darkwing darkwing added the area-buildSystem related to our build system label Jan 20, 2022
@chirag64
Copy link
Author

I was able to reproduce this same issue today on my Google Chrome browser as well

image

@houman-sanati
Copy link

Any progress on this?

HowardBraham added a commit that referenced this issue Nov 18, 2022
Also adds a getPathInsideNodeModules helper function to end reliance on writing paths that start with './node_modules/'
HowardBraham added a commit that referenced this issue Nov 18, 2022
Also adds a getPathInsideNodeModules helper function to end reliance on writing paths that start with './node_modules/'
HowardBraham added a commit that referenced this issue Nov 21, 2022
Also adds a getPathInsideNodeModules helper function to end reliance on writing paths that start with './node_modules/'
brad-decker pushed a commit that referenced this issue Nov 30, 2022
)

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
@yazeed
Copy link

yazeed commented Jan 18, 2024

What if I'm getting this on production version of metamask?

Google Chrome - Version 122.0.6255.0 (Official Build) canary (x86_64)
Metamask 11.7.3

@am5a03
Copy link

am5a03 commented Jan 19, 2024

Same issue occurred recently on my Edge, keep spinning and cannot open metamask

@rheza
Copy link

rheza commented Jan 21, 2024

wow seems like i'm getting this issue, any fix ?
i'm on Mac with edge dev though

@geline7
Copy link

geline7 commented Feb 5, 2024

I am Edge user. I meet a same problem. metamask can not loading. metamask version is 11.7.3 and edge is latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-buildSystem related to our build system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants