twitter-banner
twitter-banner copied to clipboard
'Error: Input file is missing'
I got this error: 'Error: Input file is missing'
At:
await sharp('twitter-banner.png')
.composite(image_data)
.toFile('new-twitter-banner.png');
And imageData
is:
'[{"input":"rforjoe.png","top":380,"left":1050}]'
I updated sharp and got a clearer error: 'Error: Input file is missing: twitter-banner.png'
I originally thought it meant the composite image was missing because it didn't specify. But now I see I just need to create a twitter-banner.png.