flyskywhy / react-native-filereader

HTML5 FileAPI FileReader for React Native
Apache License 2.0
2 stars 0 forks source link

Is the peer dependency for polyfill not added which is causing issue? #1

Open djaffer opened 1 year ago

djaffer commented 1 year ago

Android Bundling failed 45688ms Unable to resolve "@flyskywhy/react-native-gcanvas/packages/gcanvas/src/context/2d/RenderingContext" from "node_modules\@flyskywhy\react-native-browser-polyfill\src\window.js"

What if we are not even using it still we have to add?

Orrin-Manning commented 1 year ago

I encountered this as well, yarn add @flyskywhy/react-native-gcanvas resolves the error, but ideally this should not needed to be added as a direct dependency