react-image-annotate
react-image-annotate copied to clipboard
Problem to yarn start
I am trying to work with react-image-annotate library and got this error.
How to fix it? Thank you very much!
@TrongNhan30520 Try to add this configurations on the resolvers of webpack
resolve: {
fallback: {
fs: false,
tls: false,
net: false,
path: false,
zlib: false,
http: false,
https: false,
stream: false,
crypto: false,
},
},
after add this settings the component renders correctly for me
thank you so much
Are there any solution without using webpack ? Thank you.
@seveibar, This library providing all we required but there is an issue after installing regarding webpack version <5 config. is there any plan to upgrade the react-scripts and other legacy versions?
I am trying to work with react-image-annotate library and got this error. How to fix it? Thank you very much!
![]()
@TrongNhan30520 Can you please tell me which solution is worked for you?
same problem. why so many dependencies?
@parthpatel303 @Dogancan94 I use react 17.0.2 so i don't get error
@TrongNhan30520 I downgrade react from 18 to 17.0.2, I still get the same error. @parthpatel303 @Dogancan94 Did find any solution for this issue?
@TrongNhan30520 Try to add this configurations on the resolvers of webpack
resolve: { fallback: { fs: false, tls: false, net: false, path: false, zlib: false, http: false, https: false, stream: false, crypto: false, }, },
after add this settings the component renders correctly for me
After adding these settings in webpack.config.js, i'm getting below error: