question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with AWS Amplify React Native - Missing React Native Vector Icons dependency

See original GitHub issue

Do you want to request a feature or report a bug? bug

What is the current behavior? error when running project when using withAuthenticator HOC with aws-amplify-react-native dependency.

Module 'react-native-vector-icons/MaterialIcons' does not exist in the Haste module map.
screen shot 2018-08-28 at 5 11 38 pm

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn’t have dependencies other than AWS Amplify.

  1. Create React Native project
  2. Initialize Amplify project
  3. Install aws-amplify & aws-amplify-react-native dependencies
  4. Use withAuthenticator HOC

What is the expected behavior? Project compiles

Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions? AWS Amplify React Native Version: 2.0.0 AWS Amplify version: 1.0.8

You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dabit3commented, Oct 2, 2018

@builtbyproxy yes it does look like #1543 should have fixed this.

1reaction
dabit3commented, Aug 29, 2018

Just to come back around and update this issue:

This will not error out when using the Create React Native App CLI because this CLI (Expo) ships with React Native Vector Icons already included.

This is only an issue for developers creating an app using the React Native CLI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve "aws-amplify" from "App.js" - Stack Overflow
On my iOS simulator it has an "Extra Info" button on the error page, but it's empty. The aws-amplify , aws-amplify-react-native are present...
Read more >
aws-amplify-react-native | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Amplify Auth error with ReactNative : r/aws - Reddit
Hi everyone, I am having trouble connecting amplify auth on my react-native application. I am using expocli. I have tried delete node_model ...
Read more >
Invariant Violation: Native module cannot be null. on Managed ...
After changing some of my backend (aws). I started receiving this error. I'm not sure where to look anymore. I went through the...
Read more >
react native unrecognized font family ionicons - You.com | The AI ...
import Ionicons from "react-native-vector-icons/Ionicons"; ... import { connect } from 'react-redux' import { Auth } from 'aws-amplify'; import AuthTabs ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found