I’m receiving the following error when I run yarn build
$ bud build
bud.hooks.event.get error: booted
There was an error while running a hook for the "booted" event.
The error occurred in hook #0.
The error message was:
Cannot read properties of undefined (reading 'instance')
I have tried the following with no success: yarn dev npm cache clean --force yarn cache clean
and adding bud to my yarn.lock with yarn add @roots/bud --dev
Ben, thanks for the reply. Yes, this is for Sage, version 6.4.5. This is not a fresh install. I am able to successfully get this to build on a fresh install.
Edit: Fixed. This error ultimately appears to be a yarn dependency (yoga-layout-prebuilt) issue on WSL2 Ubuntu 20 on a symlink directory. Moved project “natively” fixed the issue.