Closed Cloud7050 closed 7 months ago
@leeyi45 would you happen to know of anything related to the build system that may have changed recently such that this would be impacted?
I can confirm that the problem exists as of today, in sourceacademy.org. Here is the direct share link: https://share.sourceacademy.org/ab906
I bumped the version of esbuild
, that is the only possible breaking change that comes to mind
Update: render(cube(silver))
also does not currently work at https://share.sourceacademy.org/ab906
@leeyi45 at which commit was the version on esbuild
bumped?
Update:
render(cube(silver))
also does not currently work at https://share.sourceacademy.org/ab906
I am currently able to run it:
@leeyi45 at which commit was the version on
esbuild
bumped?
Likely in cad882252cfd1defc53c78fa4367cef9ef395877.
I am currently able to run it:
Yep, could also run it locally, but not on the website
Yep, could also run it locally, but not on the website
I followed the share link and edited it there. So it was actually running on sourceacademy.org.
Testing on both deployments, neither org nor NUS can run the snowglobe snippet, but they can run the cube.
If the snowglobe works locally, perhaps that's a clue?
When attempting to run the snowglobe sample, the following error is shown in the REPL:
That name occurs in the JSCAD modelling library's patch file. It would appear that recent changes in master may have broken the CSG module.
Line 11 calls
intersect()
from the CSG module. A trivial example such asrender(cube(silver))
still works without error.