This SVGO version is no longer supported. Upgrade to v2.x.x

Viewed 5186

I am running "npx create-react-app experiment" to create a new project and I get this warning. How can I solve it? I have been researching but I get nothing

warning react-scripts > @svgr/webpack > @svgr/plugin-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

2 Answers

I encountered this error while installing dependencies (npm install) for an existing projects

and solved this by installing svgo globally using the command below:

npm install -g svgo

or

npm i -g svgo

hope this helps :)

This below command line helped me when I was creating my react app, try it.

npx create-react-app@latest my-app --use-npm

Related