Skip to content

Instantly share code, notes, and snippets.

@xoxwgys56
Created August 5, 2021 00:51
Show Gist options
  • Save xoxwgys56/ed09974cd0ba8cd254af8c9be3b5df5e to your computer and use it in GitHub Desktop.
Save xoxwgys56/ed09974cd0ba8cd254af8c9be3b5df5e to your computer and use it in GitHub Desktop.
Encounter error about "WorkerError: failed to process image"
#! /bin/bash
# copied from https://github.com/gatsbyjs/gatsby/issues/21515#issuecomment-588416624
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment