Hi, I am new to the MakeCode platform and I have started to create my own local simulator. However, the ‘Promise.delay’ function is throwing an error when an API tries to use it. I am not to sure what is causing this, as I think I have all the correct libraries to run the simulator locally. Where am I going wrong?
We recently removed the bluebird library which was the source of the Promise.delay function (it’s not actually part of the promise standard). There’s a replacement function you can use though, try:
pxsim.U.delay()
This worked, thank you!