I want to to ignore the peer dependencies of only one of the libraries in my package.json (e.g.: theme-ui). Is there a way to add such flag to package.json?
I want to to ignore the peer dependencies of only one of the libraries in my package.json (e.g.: theme-ui). Is there a way to add such flag to package.json?
I think using
--legacy-peer-deps
will allow us to install the package without meeting the peer dependency requirements.
If it doesn't work, try to use
--force will install
without regard to peer dependencies.
Hope it will be helpful. Thanks