ushelp / EasyQRCode-React-Native

React Native QRCode generator. Can generate standard QRCode image or base64 image data url text. Cross-browser QRCode generator for pure javascript. Support Dot style, Logo, Background image, Colorful, Title etc. settings. support binary mode.
https://www.easyproject.cn/easyqrcodejs/home.html
MIT License
52 stars 5 forks source link

Require cycle Error #3

Open salembaira opened 2 years ago

salembaira commented 2 years ago

Hello and thank you for the awesome job.

React-native throws this error which seems to indicate that your code has a require cycle. Could you fix this ?

Require cycle: node_modules\easyqrcode-react-native\node_modules\react-native-canvas\dist\Canvas.js -> node_modules\easyqrcode-react-native\node_modules\react-native-canvas\dist\ImageData.js -> node_modules\easyqrcode-react-native\node_modules\react-native-canvas\dist\Canvas.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
ushelp commented 2 years ago

Hi, Baira, Thanks for your feedback.

But this error comes from the dependency library react-native-canvas. Sorry we can't fix it.