gatsby-plugin-sitemap does not generate sitemap #33904
              
                
                  
                  
                    Answered
                  
                  by
                    LekoArts
                  
              
          
                  
                    
                      bit-crafter
                    
                  
                
                  asked this question in
                Help
              
            -
| Preliminary Checks
 DescriptionconfigurationReproduction LinkSteps to Reproduce
 Expected ResultOn production build, it should generate a sitemap.xml file Actual ResultSitemap.xml file is missing after production build EnvironmentSystem:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm
  Languages:
    Python: 2.7.16 - /usr/bin/python
  Browsers:
    Chrome: 95.0.4638.69
    Firefox: 87.0
    Safari: 14.1.2
  npmPackages:
    gatsby: ^4.1.0 => 4.1.0
    gatsby-background-image: ^1.5.3 => 1.5.3
    gatsby-plugin-anchor-links: ^1.2.1 => 1.2.1
    gatsby-plugin-canonical-urls: ^4.1.0 => 4.1.0
    gatsby-plugin-catch-links: ^4.1.0 => 4.1.0
    gatsby-plugin-google-tagmanager: ^4.1.0 => 4.1.0
    gatsby-plugin-image: ^2.1.0 => 2.1.0
    gatsby-plugin-manifest: ^4.1.0 => 4.1.0
    gatsby-plugin-meta-redirect: ^1.1.1 => 1.1.1
    gatsby-plugin-no-sourcemaps: ^4.1.0 => 4.1.0
    gatsby-plugin-nprogress: ^4.1.0 => 4.1.0
    gatsby-plugin-preact: ^6.1.0 => 6.1.0
    gatsby-plugin-react-helmet: ^5.1.0 => 5.1.0
    gatsby-plugin-robots-txt: ^1.6.14 => 1.6.14
    gatsby-plugin-sharp: ^4.1.0 => 4.1.0
    gatsby-plugin-sitemap: 5.2.0-next.1 => 5.2.0-next.1
    gatsby-source-filesystem: ^4.1.0 => 4.1.0
    gatsby-transformer-json: ^4.1.0 => 4.1.0
    gatsby-transformer-sharp: ^4.1.0 => 4.1.0Config FlagsNo response | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            LekoArts
          
      
      
        Nov 8, 2021 
      
    
    Replies: 1 comment 3 replies
-
| Hi! Please see: https://www.gatsbyjs.com/plugins/gatsby-plugin-sitemap/ You should look at  | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
      Answer selected by
        bit-crafter
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hi!
Please see: https://www.gatsbyjs.com/plugins/gatsby-plugin-sitemap/
You should look at
/sitemap/sitemap-index.xmland/sitemap/sitemap-0.xml