Why Am I Seeing an Error about "SWC" When I Run `embeddable:dev`?

SWC is a piece of technology used by Embeddable’s core SDK. When the node module for it is installed, it’s supposed to build a binary file, but this file doesn’t always get built reliably. If you run into the error, these steps should trigger a full rebuild:

  1. Delete the node_modules folder
  2. Delete package-lock.json
  3. Re-run npm install

This should get you up and running!