andrioid / gatsby-plugin-social-cards

Automatically generates social preview cards for various social networks
https://www.gatsbyjs.org/packages/gatsby-plugin-social-cards
6 stars 2 forks source link

Missing file in npm package: default-background.jpg #2

Closed rozenmd closed 4 years ago

rozenmd commented 4 years ago

Hey Andri,

Just getting this error when running the latest npm package:

Error: ENOENT: no such file or directory, open '<MY_DIR>/node_modules/gatsby-plugin-social-cards/src/default-background.jpg'

I'm guessing it didn't get bundled?

andrioid commented 4 years ago

Hey Max

You're right, the default background image wasn't bundled and I never noticed because I had my own default configured in gatsby-config.js.

In version 0.5.14 I have moved the default-background into img/ where it will be shipped with the npm package.

Thanks for reporting. Let me know if it doesn't work.