Skip to content

Troubleshooting Build Failures

Chris Llanwarne edited this page Jul 18, 2023 · 3 revisions

Module not found

Example: Module not found: Error: Can't resolve '/Users/username/repos/terra-ui/.yarn/cache/@babel-runtime-npm-...

Assuming the branch builds in CI this is likely a caching issue. Here are a few things to try (in order of drastic-ness):

  • yarn install and yarn dedupe
  • yarn cache clear
  • rm -rf node_modules/.cache
Clone this wiki locally