Error: Unable to find plugin "gatsby-remark-relative-images" even after installing multiple versions
sockdrawermoney opened this issue · 2 comments
sockdrawermoney commented
I've been trying to install and use this plugin, but regardless of what I do, the module reports as missing.
I have:
- verified it's in node_modules directory
- tried installing different versions of the modules
- tried deleted node_modules and reinstalled everything
This is what the start of the modules config in my gatsby-config.js looks like:
plugins: [
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/content/uploads`,
name: "assets",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/content/blog`,
name: "posts",
},
},
`gatsby-plugin-sharp`,
`gatsby-plugin-netlify-cms`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-relative-images`,
`gatsby-remark-copy-linked-files`,
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 605,
},
},
"gatsby-remark-prismjs",
`gatsby-remark-autolink-headers`,
],
},
},
Any ideas?
sockdrawermoney commented
This issue exists for me in node 14 and node 12 but not node 10.
sockdrawermoney commented
lol scratch that. I was testing things out in various environments and ran npm i
in the wrong repo. 😂 Sooo never mind. Problem exists in node 10, too.