TryGhost / gatsby-plugin-advanced-sitemap

Advanced XML Sitemaps for Gatsby.js
MIT License
150 stars 0 forks source link

Gatsby v5 support #235

Open stanislavlyu opened 2 years ago

stanislavlyu commented 2 years ago

Welcome to the Gatsby Plugin Advanced Sitemap GitHub repo! 👋🎉

We use GitHub only for bug reports 🐛

Anything else should be posted to https://forum.ghost.org 👫

For questions related to the usage of Gatsby or GraphQL, please check out their docs at https://www.gatsbyjs.org/ and https://graphql.org/

🚨For support, help & questions use https://forum.ghost.org/c/help 💡For feature requests & ideas you can post and vote on https://forum.ghost.org/c/Ideas

If your issue is with Gatsby.js itself, please report it at the Gatsby repo ➡️ https://github.com/gatsbyjs/gatsby/issues/new.

Issue Summary

npm ERR! While resolving: gatsby-plugin-advanced-sitemap@2.1.0 npm ERR! Found: gatsby@5.0.1 npm ERR! node_modules/gatsby npm ERR! peer gatsby@"^5.0.0-next" from babel-plugin-remove-graphql-queries@5.0.0 npm ERR! node_modules/babel-plugin-remove-graphql-queries npm ERR! babel-plugin-remove-graphql-queries@"^5.0.0" from gatsby@5.0.1 npm ERR! babel-plugin-remove-graphql-queries@"^5.0.0" from gatsby-plugin-image@3.0.0 npm ERR! node_modules/gatsby-plugin-image npm ERR! peer gatsby-plugin-image@"^3.0.0-next" from gatsby-source-wordpress@7.0.0 npm ERR! node_modules/gatsby-source-wordpress npm ERR! gatsby-source-wordpress@"^7.0.0" from the root project npm ERR! 1 more (the root project) npm ERR! 1 more (gatsby-plugin-typescript) npm ERR! peer gatsby@"^5.0.0-next" from gatsby-plugin-catch-links@5.0.0 npm ERR! node_modules/gatsby-plugin-catch-links npm ERR! gatsby-plugin-catch-links@"^5.0.0" from gatsby-source-wordpress@7.0.0 npm ERR! node_modules/gatsby-source-wordpress npm ERR! gatsby-source-wordpress@"^7.0.0" from the root project npm ERR! 24 more (gatsby-plugin-google-tagmanager, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer gatsby@"^3.0.0 || ^4.0.0" from gatsby-plugin-advanced-sitemap@2.1.0 npm ERR! node_modules/gatsby-plugin-advanced-sitemap npm ERR! gatsby-plugin-advanced-sitemap@"^2.1.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: gatsby@4.24.8 npm ERR! node_modules/gatsby npm ERR! peer gatsby@"^3.0.0 || ^4.0.0" from gatsby-plugin-advanced-sitemap@2.1.0 npm ERR! node_modules/gatsby-plugin-advanced-sitemap npm ERR! gatsby-plugin-advanced-sitemap@"^2.1.0" 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! See /Users/stanislavlyu/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/stanislavlyu/.npm/_logs/2022-11-11T11_34_17_288Z-debug-0.log

A summary of the issue and the browser/OS environment in which it occurs.

To Reproduce

  1. update project to gatsby 5
  2. run npm install Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?

Technical details:

insaurabh commented 1 year ago

Hi Team,

The plugin have two issues

  1. No / ( Trailing slash )
  2. Need to update the Gatsby support version.
bnteau commented 4 months ago

Hi, Any news on a plugin update to support Gatsby v5? Thanks