Closed
Description
If an error occurs when initializing the build, the generated lock file is not cleaned up.
E.g., when I run ./cli/rescript.js build
in the project root, I get
[1/7] 📦 Building package tree...Could not initialize build. Error: No such file or directory (os error 2)
and the lock file is left behind.