Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to yarn start #203

Open
TrongNhan30520 opened this issue Jun 6, 2022 · 9 comments
Open

Problem to yarn start #203

TrongNhan30520 opened this issue Jun 6, 2022 · 9 comments

Comments

@TrongNhan30520
Copy link

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

@henriquedantass
Copy link

henriquedantass commented Jun 27, 2022

@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

@TrongNhan30520
Copy link
Author

thank you so much

@Dogancan94
Copy link

Are there any solution without using webpack ? Thank you.

@parthpatel303
Copy link

@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
Copy link

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?

@deadman2000
Copy link

same problem. why so many dependencies?

@TrongNhan30520
Copy link
Author

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

@hamid-mahmood
Copy link

@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
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants