styleguidist / react-styleguidist

Isolated React component development environment with a living style guide
https://react-styleguidist.js.org/
MIT License
10.83k stars 1.44k forks source link

Deprecation warnings when doing 'npm install react-styleguidist' #1987

Open jainam-shah-cygnet opened 2 years ago

jainam-shah-cygnet commented 2 years ago

I am getting deprecation warnings when I try to install this package.

NOTE: - React version - 17.0.2, react-styleguidist version - 11.2.0

I have figured out below packages are showing deprecation warnings on install

Here are the deprecation messages: npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

How can I remove these warnings ?

virajdalvi commented 2 years ago

If you want to remove the deprecated warnings, you can add the --loglevel=error option when running npm install: Command: npm install --loglevel=error