Hi @tordans, I’m a member of the Docs team here at Netlify. Thank you for sharing this feedback. We’ve updated the docs to include these details in the “Remove a Plugin” section. Hopefully this will help others moving forward.
I just noticed another place where the help content guides me to the wrong conclusion.
This is from my build log which has 2 places that reference plugins and updating or installing them. AFAIK both of those described ways does not work (anymore).
10:36:19 AM: ❯ Installing plugins
10:36:19 AM: - @netlify/plugin-gatsby@3.2.1
10:36:28 AM:
10:36:28 AM: ❯ Loading plugins
10:36:28 AM: - @netlify/plugin-gatsby@3.2.1 from Netlify app
10:36:28 AM:
10:36:28 AM: ❯ Outdated plugins
10:36:28 AM: - @netlify/plugin-gatsby@3.2.1: latest version is 3.6.2
10:36:28 AM: Migration guide: https://ntl.fyi/gatsby-plugin-migration
10:36:28 AM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)
10:36:29 AM:
10:36:29 AM: @netlify/plugin-gatsby (onPreBuild event)
10:36:29 AM: ────────────────────────────────────────────────────────────────
The correct solution to this issue seems to be to disable the plugin from the build settings (the place you just added to the docs), save the settings and then re-add “gatsby”. (I did not try it with just edit-remove-add-save, just with edit-remove-save-edit-add-save.) I think the console output could be a lot clearer on this.
10:36:29 AM:
10:36:29 AM: No Gatsby cache found. Building fresh.
10:36:29 AM: Please install `gatsby-plugin-netlify` and enable it in your gatsby-config.js. https://www.gatsbyjs.com/plugins/gatsby-plugin-netlify/
10:36:29 AM:
10:36:29 AM: (@netlify/plugin-gatsby onPreBuild completed in 7ms)
10:36:29 AM:
10:36:29 AM: Build command from Netlify app