Sage 10 trying to add bootstrap 5

I followed exactly the documentation and I always get the following error at yarn build

[sage] [hooks] › :heavy_multiplication_x: bootstrap

BudError

✘ this.app.set is not a function

Can somebody help?
Thanks in advance