davidhu2000 / react-spinners

A collection of loading spinner components for react
https://www.davidhu.io/react-spinners
MIT License
3.01k stars 262 forks source link

Can't Install Package #457

Closed Fosol closed 2 years ago

Fosol commented 2 years ago

npm install react-spinner fail to find the package

Error = Not Found - GET https://registry.npmjs.org/@types%2freact-spinners - Not found

yarn add react-spinner fail to find the package.

Error = An unexpected error occurred: "https://registry.yarnpkg.com/@types%2freact-spinners: Not found

To Reproduce Steps to reproduce the behavior:

Node Version: v16.10.0 NPM Version: 7.24.0 Yarn Version: 1.22.5

  1. Try to install the package for a typescript project
  2. See error

Expected behavior Should install

davidhu2000 commented 2 years ago

looks like you have a typo in the install?

- npm install react-spinner
+ npm install react-spinners

also, this package supply it's own types so no need to install @type package