cssivision / react-native-qrcode

a minimalist qrcode component for react-native
MIT License
853 stars 303 forks source link

react package has encountered an internal error for rn40 #22

Closed qinghantang closed 7 years ago

qinghantang commented 7 years ago

it work well when i delete the import

cssivision commented 7 years ago

what means?

qinghantang commented 7 years ago

import QRCode from 'react-native-qrcode';

it print the error when i import

qinghantang commented 7 years ago

i cannot see the detail ,once i delete the sentence it works well

lomse commented 7 years ago

I'm having the same error. With import QRCode from 'react-native-qrcode'; uncommented, it shows {"type":"InternalError", "message":"react-packager has encountered an internal error, please check your terminal error output for more details"}. The funny thing is that the terminal is empty. screen shot 2017-04-02 at 5 23 46 pm screen shot 2017-04-02 at 5 24 06 pm ![Uploading Screen Shot 2017-04-02 at 5.24.06 PM.png…]()

yuguangmao commented 7 years ago

me 2

zrzhit commented 7 years ago

i also have the same error

choleece commented 7 years ago

me too.so i uninstall the qrcode

cssivision commented 7 years ago

restart with react-native run-ios will work fine, i do not find the reason

choleece commented 7 years ago

I got it on android.thx@cssivision

nikolaymelezhik commented 7 years ago

In my case, I have terminated the react-native console and started in once again. It solved the issue