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.

Issue with importing

See original GitHub issue

Once I add the line

import Emoji from 'react-native-emoji';

at the top of my file and reload the app on iOS, I start seeing an error:

Cannot read property ‘string’ of undefined

If I remove that import statement, the app builds and runs fine.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
Winglonelioncommented, Mar 30, 2018

i met it. For quick resolve it, i installed it directly via github. npm install react-native-emoji@https://github.com/jorilallo/react-native-emoji -S

5reactions
TANemesiscommented, Nov 20, 2017

Actually, this issue and issue #19 are related. The index.js file in this repo is not the same as the one in the npm package. If you replace the contents of the one installed via npm with the contents of index.js in this repo, it works fine. Please update the npm package.

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Common CSV Import Errors and How to Fix Them - Flatfile
Here are the top CSV import issues that can cause major headaches when importing your files. · 1. File size · 2. Matching:...
Read more >
Handle import errors - Analytics Help - Google Support
This article can help you troubleshoot the problem. There are several basic reasons ... Not joining the imported data properly (Data Set schema...
Read more >
Import issues | Atlassian Support
You can import issues into your Jira Cloud site. We recommend using this process to import data from third-party tools. This import process...
Read more >
Importing issues from CSV - GitLab Documentation
You can import issues to a project by uploading a CSV file with the following columns: ... Consider importing a test file containing...
Read more >
8 Bulk Import Issues and Their Solutions - Apimio
In this blog, we will be discussing 8 common bulk product import issues and their solutions. Well then, let's sort it out together....
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