react-barcode icon indicating copy to clipboard operation
react-barcode copied to clipboard

Add React ^18.0.0 support

Open JeffreyStevens opened this issue 3 years ago • 4 comments

Hello!

Thank you for this package. Is it possible to merge the React version pull request so we can remove the --legacy-peer-deps flag from our Azure build process? I never needed that until I added this package to our app.

Thank you.

JeffreyStevens avatar Jul 16 '22 11:07 JeffreyStevens

The new 1.4.2 version does have React 18 in it but I still get errors because I am at 18.2.0 and the merged code only allows for 18.0.0.

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0 || ^17.0.0 || 18.0.0" from [email protected]
npm ERR! node_modules/react-barcode
npm ERR!   react-barcode@"1.4.2" from the root project

JeffreyStevens avatar Jul 22 '22 11:07 JeffreyStevens

Hi ! I got the same error ;) Could you fix this issue please ?

martindebrunne avatar Jul 25 '22 13:07 martindebrunne

Hello ! Same Err

ghost avatar Aug 03 '22 04:08 ghost

1.4.5 updated. I'm sorry too late.

kciter avatar Aug 25 '22 01:08 kciter