nkbt / react-copy-to-clipboard

Copy-to-clipboard React component
MIT License
2.33k stars 123 forks source link

'@types/react-copy-to-clipboard@^5.0.3' tarball not found #185

Closed leopinzon closed 2 years ago

leopinzon commented 2 years ago

Hey guys, I'm getting the following errors when trying to install the v. ^5.0.2 (aka. 5.0.3)::

6:08:10 PM: npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types/react-copy-to-clipboard/-/react-copy-to-clipboard-5.0.3.tgz
6:08:10 PM: npm ERR! 404
6:08:10 PM: npm ERR! 404  '@types/react-copy-to-clipboard@^5.0.2' is not in the npm registry.
6:08:10 PM: npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
6:08:10 PM: npm ERR! 404 It was specified as a dependency of 'repo'
6:08:10 PM: npm ERR! 404
6:08:10 PM: npm ERR! 404 Note that you can also install from a
6:08:10 PM: npm ERR! 404 tarball, folder, http url, or git url.
nkbt commented 2 years ago
  1. Types are not supported by the author
  2. seems like those versions never were published (or there is some network error)

either way there is nothing I can help with

wisdomosara commented 2 years ago

i've been having this issue for over 6 hours now.. yarn install always fails at this point with this same error

nkbt commented 2 years ago

I do not support type declaration package. No idea why it tries to download non existent file

wisdomosara commented 2 years ago

Okay..

wisdomosara commented 2 years ago

Thanks

leopinzon commented 2 years ago

@nkbt look at this:: https://registry.npmjs.org/@types/react-copy-to-clipboard/

nkbt commented 2 years ago

@leopinzon looks like types automated publish glitched after my lib was published. Nothing to do with the library though. I have no idea how to fix it except trying to publish new version.

leopinzon commented 2 years ago

Got it, thank you!

nkbt commented 2 years ago

Looks like it has been republished and now is available

image image