MetaMask / MetaMask/metamask-sdk

[Bug]: Warning about missing dependency @react-native-async-storage/async-storage

Open
#1,376 4 comments 12 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
338
Forks
260
PR merge metrics
No merged PRs in 30d

Description

### SDK

Web

### Provide environment information

I'm using it through Wagmi's latest version.

### MetaMask SDK Version

0.33.1

### MetaMask Mobile app Version

x

### What browser are you using? (if relevant)

x

### How are you deploying your application? (if relevant)

React, Express server

### Describe the Bug

I'm using the latest version of the SDK and I'm getting warnings in my console `Module not found: Error: Can't resolve '@react-native-async-storage/async-storage'`

I'm not using React-Native.

### Expected Behavior

No warnings because I'm not using React Native

### Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster

_No response_

### To Reproduce

Install latest version of SDK with a node server.

Contributor guide

Open the contributing guide

Research direction

Start by installing the latest SDK in the reported React, Express, and Node setup, then trace why the web build resolves @react-native-async-storage/async-storage. Done means a non-React-Native application can install and use the SDK without the missing-dependency warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, node.js, react, react-native, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.