shubhanus / otp-input-react

React simple otp input with react hooks
MIT License
59 stars 85 forks source link

Can't resolve 'otp-input-react' #23

Closed praneetha-ck-robo closed 2 years ago

praneetha-ck-robo commented 4 years ago

This issue was noticed when upgrading from version 0.2.0 to 0.2.4. When I checked the node_modules there is no entry file index.js file, in fact there is no js file at all.

Edit: I followed up closely and I have observed this issue started occurring in V-0.2.2 itself. Version 0.2.1 and below has the dist folder and versions 0.2.2 and future versions is missing the dist folder in the node_modules directory @shubhanus

niraj-patel commented 4 years ago

Still facing this issue, any update on this?

Have to download older version. i.e. 0.2.0

Hence, need to be fixed.

kazmiali commented 4 years ago

I am also facing the same issue

kazmiali commented 4 years ago

I just installed it again with version 0.2.0 and it works totally fine.

fleischman718 commented 4 years ago

I am also facing the same issue

theutkarshsoni commented 4 years ago

I faced the same issue. I tried to delete package-lock.json and node_modules as well but no luck. So give up the idea of using this.

theutkarshsoni commented 4 years ago

@kazmiali Thanks for your second comment. The 0.2.0 version working fine. I didn't read that previously.

choyan commented 4 years ago

As @kazmiali said, I had to install v0.2.0. yarn add otp-input-react@0.2.0

VimLeSai commented 3 years ago

@shubhanus i think you forget to push build folder into package.

mersed commented 3 years ago

@shubhanus i think you forget to push build folder into package.

Indeed. Same issue here. Switched back to 0.2.0

Parameshvadivel commented 3 years ago

@shubhanus have you pushed the build?

justiceotuya commented 3 years ago

its 2021 and this issue still stands

Temi-t commented 3 years ago

Same issue as well and Version 0.2.0 seems peer dependent with lower react versions. It doesn't work with react@17.0.2 which is what I'm currently using.

VimLeSai commented 3 years ago

I think this repo is not in maintained anymore. I submited PR to fix this issue but no actions at all.

shubhanus commented 2 years ago

Fixed apologies guys I'll try to maintain this from now also any one interested in maintaining please reach out to me.

MohammedAnshabtp commented 2 years ago

As per React 18 you may caught dependency error .So i fix by installing ### npm install --force react-otp-input