epic-stack icon indicating copy to clipboard operation
epic-stack copied to clipboard

@nasa-gcn/remix-seo: dependency conflict

Open braginteractive opened this issue 4 months ago • 3 comments

Getting eh following errors when trying to start a project.

npm error Found: [email protected] npm error node_modules/react npm error react@"^19.1.0" from the root project npm error npm error Could not resolve dependency: npm error peer react@"^18.0.0" from @remix-run/[email protected] npm error node_modules/@remix-run/react npm error peer @remix-run/react@"^1.0.0 || ^2.0.0" from @nasa-gcn/[email protected] npm error node_modules/@nasa-gcn/remix-seo npm error @nasa-gcn/remix-seo@"*" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution.

Looks like a new package has been created: https://github.com/doinki/react-router-seo

Doesnt include robots.txt generation though..

braginteractive avatar Jul 24 '25 20:07 braginteractive

The robots file is easy enough to just hardcode. I would absolutely welcome a pull request to fix this. Thank you.

kentcdodds avatar Jul 24 '25 20:07 kentcdodds

This package looks promising as well: https://github.com/forge-42/seo-tools - has a dedicated module for RR7

braginteractive avatar Aug 20 '25 22:08 braginteractive

Oh, that's perfect. I'd be happy to accept a PR for that

kentcdodds avatar Aug 20 '25 23:08 kentcdodds