react-image-annotate icon indicating copy to clipboard operation
react-image-annotate copied to clipboard

Problem to yarn start

Open TrongNhan30520 opened this issue 2 years ago • 9 comments

I am trying to work with react-image-annotate library and got this error. How to fix it? Thank you very much! rtyui aaa

TrongNhan30520 avatar Jun 06 '22 09:06 TrongNhan30520

@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

henriquedantass avatar Jun 27 '22 19:06 henriquedantass

thank you so much

TrongNhan30520 avatar Jun 30 '22 03:06 TrongNhan30520

Are there any solution without using webpack ? Thank you.

Dogancan94 avatar Jul 22 '22 07:07 Dogancan94

@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?

Screenshot 2022-10-13 at 12 15 43 PM

parthpatel303 avatar Oct 13 '22 06:10 parthpatel303

I am trying to work with react-image-annotate library and got this error. How to fix it? Thank you very much! rtyui aaa

@TrongNhan30520 Can you please tell me which solution is worked for you?

parthpatel303 avatar Oct 14 '22 10:10 parthpatel303

same problem. why so many dependencies?

deadman2000 avatar Oct 28 '22 15:10 deadman2000

@parthpatel303 @Dogancan94 I use react 17.0.2 so i don't get error

TrongNhan30520 avatar Dec 29 '22 03:12 TrongNhan30520

@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?

hamid-mahmood avatar Jul 05 '23 14:07 hamid-mahmood

@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:

image

hamid-mahmood avatar Jul 05 '23 15:07 hamid-mahmood