Bumped to alpha.63 - errors when compiling

Hi!
After bumping babylonjs to the latest alpha I get these errors when compiling my project. Any ideas why?
Thank you!
R.

image

image

@RaananW might have an idea ? he is the build King

Could it be because you are on typescript 4.4.3 instead of 4.4.2 ?

the tsc version you are using in your babylon project is (probably) not the version you have installed globally.

Check npx tsc - version , does it return anything below 4.4?
Also - did you add typescript as dependency? which version? and what does your lock file tells you about the used tsc version? XMLHttpRequestBodyInit was just added recently to typescript (4.4 if I am not mistaken). Any lower version of typescript will fail to compile.

1 Like

Hi!
I had 4.5.2 installed globally. I’ve changed the tsc version in my project to 4.5.2 and voila:
image
The screenshot is from another project but it had the same issue.

Thanks a lot!

1 Like