Ok, finally I managed to fix this ![]()
I managed to upgrade to version 6 and fix my issues.
About this:
I removed the // @ts-check on top the bud.config.mjs file.
And about this:
I just deleted my node_modules folder and ran yarn again and this error didn’t show up.
About the other topic I referred here, I am not sure how that was fixed, but I would suggest others take a good look at the function chain in the bud config.
Thanks, guys!