I'm experiencing a strange phenomenon in which errors (I believe compile errors) are no longer being picked up by the VS Code SFDX code. Normally when I run "SFDX: Deploy this source to org", it checks for errors and the deployment fails if any are found. But sometime today that stopped.
As an example, I ran confsdfsole.log("test");
instead of console.log("test");
, and it deployed without issue.
Does anyone know how to turn error checking back on?
Edit: Things I have tried
- Re-running
npm install
- Uninstalling and reinstalling the Salesforce Extension Pack
npm install
in your project folder to make sure all of the relevant plugins are installed.