Couldn't find the "gatsby-plugin-sitemap"

Site name: www.greatweb.dev
Problem: Couldn’t find the “gatsby-plugin-sitemap” plugin declared in “/opt/build/repo/gatsby-config.js”.

but when I try to gatsby build in my local didnt have an issue, everytthing works fine. But in deployment got this problem.

Thanks

hi there, is this dependency listed in your package.json?

Hi perry, yes already listed

hey there, i’m a bit stumped by this. I’m not sure why this package isn’t available, as it is listed in your package.json.

Is your repo public? can we take a look?

Have you had a chance to chat with the folks over at gatsby?

hi perry already figured out. I mistaken to rename the name of my packge.json that maybe cause netlify couln’t find the package during the build :smiley:

1 Like