I'm getting this error:
Error: spawnSync undefined ENOENT
Always, when I save the file in VSCode, but it turns out that compiles fine.
How I can fix this behavior?
I read this: How do I debug "Error: spawn ENOENT" on node.js? but I do not know if this related.
I solved this by uninstalling the extra plugin rust_fmt besides rusty_code because of which vscode spawning new process every time on save. Also enabled fmt from vscode settings as below.
"rust.formatOnSave": true,
"rust.checkOnSave": true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With