Please update peer dependency react-router-dom to >=5.3. Installing this without --legacy-peer-deps gives an error. Thanks for a nice plugin!
$ npm i strapi-plugin-update-static-content
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-project@0.1.0
npm ERR! Found: react-router-dom@5.3.4
npm ERR! node_modules/react-router-dom
npm ERR! react-router-dom@"5.3.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-router-dom@"5.2.0" from strapi-plugin-update-static-content@2.0.7
npm ERR! node_modules/strapi-plugin-update-static-content
npm ERR! strapi-plugin-update-static-content@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/mattias/.npm/_logs/2024-05-08T13_19_05_188Z-eresolve-report.txt
Please update peer dependency react-router-dom to >=5.3. Installing this without --legacy-peer-deps gives an error. Thanks for a nice plugin!