Sage ships with a yarn.lock file and expects yarn commands to be ran for the build process. Did you start your project by running yarn and then suddenly switch to npm?
Show us the code, don’t tell us with words. What exactly does your Bud config look like?