FormidableLabs / FormidableLabs/react-native-ama

Attempted to import the module "@react-native-ama/internal" which is listed in the "exports" of "@react-native-ama/internal"

Open
#319 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
295
Forks
22
Avg merge
20m
Merged PRs (30d)
2

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

### Bug report

**Full console warning:**

```
Attempted to import the module "node_modules/@react-native-ama/internal" which is listed in the "exports" of "node_modules/@react-native-ama/internal", however no match was resolved for this request (platform = ios). Falling back to file-based resolution. Consider updating the call site or asking the package maintainer(s) to expose this API.
```

It might have been fixed in [this commit](https://github.com/FormidableLabs/react-native-ama/commit/6c7ed2b48b9311547032876042f477c625c88997), but I can't see the `forms` package installed in my node_modules to patch this change (I'm using RN only).

**Repro steps:**

1. Install 1.2.0
2. Use RN 0.79.2
3. Build your app
4. Notice in the console logs there are tons of `Attempted to import the module..` warnings

**Relevant package versions:**
```
"@react-native-ama/core": "^1.2.0",
"@react-native-ama/react-native": "^1.2.0",
"react-native": "0.79.2",
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.