create-plasmic-app error using PlasmicLoader with Gatsby

Successfully added @plasmicapp/loader dependency.
yarn build
yarn run v1.22.10
warning ../../../../package.json: No license field
$ gatsby build


Error in "./node_modules/gatsby-transformer-sharp/gatsby-node.js":

Something went wrong installing the "sharp" module

create-plasmic-app failed!
Unexpected error: 
Error: Command failed with exit code 1: yarn build
    at makeError (/Users/jesperwejaker/.config/yarn/global/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/jesperwejaker/.config/yarn/global/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  shortMessage: 'Command failed with exit code 1: yarn build',
  command: 'yarn build',
  escapedCommand: 'yarn build',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false

Please remove /Users/jesperwejaker/Projects/dev/test/demo and try again.

I’m trying to execute create-plasmic-app. Any ideas?

Hi! Sorry about that; could you try running create-plasmic-app again?

Yes, did that, same result.

hmm what do you see when you run npx create-plasmic-app --version?


Hmm it should be 0.0.28; it must picking up an older version of create-plasmic-app locally. Could you check and upgrade that local install?