MetaMask / MetaMask/detect-provider

Does not detect provider in Metamask browser with Nuxt

Open
#20 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Provider is not detected in Metamask browser.

My application is built with Nuxt, but the problem persists even when using the CDN version of `detect-provider`, rather than the NPM package. I believe this approach should bypass any Nuxt-specific build issues.

I have tried increasing the timeout to 15 seconds.

Sometimes the provider is detected after refreshing the page, but this behavior is not consistent.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing provider detection in a Nuxt application and then compare the NPM and CDN versions of detect-provider, using the reported 15-second timeout and refresh-dependent behavior. Done means identifying and fixing the detection failure or documenting the missing reproduction conditions with a reliable test case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nuxtjs
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.