Open gabriel4649 opened 4 years ago
Can you share what you have set up in your gridsome.config.js
file?
module.exports = {
siteName: 'Caproni',
siteUrl: process.env.SITE_URL || 'https://caproni.fm',
plugins: [
'gridsome-plugin-robots',
'@gridsome/plugin-sitemap',
{
use: '@gridsome/source-filesystem',
options: {
path: 'recursos/**/*.md',
typeName: 'ProjectPost',
resolveAbsolutePaths: true,
remark: {
externalLinksTarget: '_blank',
externalLinksRel: ['nofollow', 'noopener', 'noreferrer'],
},
},
},
{
use: 'gridsome-plugin-blog-cover',
options: {
typeName: 'ProjectPost',
outputDir: './cover_images',
domain: 'https://caproni.fm',
coverField: 'cover_image',
cloud_name: process.env.CLOUDINARY_CLOUD_NAME,
api_key: process.env.CLOUDINARY_API_KEY,
api_secret: process.env.CLOUDINARY_API_SECRET,
},
},
],
transformers: {
remark: {
plugins: ['@gridsome/remark-prismjs'],
},
},
};
I can't seem to re-create this error on my end. Do you have a public repository for your project?
I saw this error too when I tried to save a content markdown file with gridsome develop
running, although not when using this particular plugin. It seems to be related to https://github.com/gridsome/gridsome/issues/1015 and there's a workaround in that thread.
Hi!
Thanks for creating this amazing plugin.
Do you have any ideas what might be causing this?
I see that the images are successfully created and uploaded.