Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load bundle. Metro bundler has encountered an internal error #52

Open
almorak opened this issue Apr 17, 2018 · 4 comments
Open

Comments

@almorak
Copy link

almorak commented Apr 17, 2018

2018-04-17 1 20 34

Version:
react-native-cli: 2.0.1
react-native: 0.53.0

How happened
1 install this library.

2 just add
import QRCode from 'react-native-qrcode';
to one of screens.

3 refresh the simulator and got this.

@almorak
Copy link
Author

almorak commented Apr 17, 2018

update:
it should be caused by
at line:
var qr = require('qr.js');

@tedwong
Copy link

tedwong commented May 7, 2018

@almorak may I know how to resolve this issue?

@almorak
Copy link
Author

almorak commented May 11, 2018

@tedwong
i forgot how to fix it - -", i removed it from my project.
but i choose to use react-native-qrcode-svg instead.
Its performance is better, shorter loading time.

@bhusheth
Copy link

@tedwong
I had the same problem. And installing dependancies manually. It worked!
In my case dependency was qr.js (npm install qr.js@0.0.0 --save)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants