Error for all SFDX IDE commands

Issue #1712 resolved
Kai-Fan Hsieh created an issue

Suddenly got this error for all SFDX IDE commands.

Salesforce CLI: (node:15524) [InvalidProjectWorkspace Plugin: sfdx-cli] InvalidProjectWorkspace Plugin: sfdx-cli: This directory does not contain a valid Salesforce DX projectmodule: @oclif/config@1.17.0task: runHook prerunplugin: sfdx-cliroot: C:\Users\kai41\AppData\Roaming\npm\node_modules\sfdx-cliSee more details with DEBUG=*(Use node --trace-warnings ... to show where the warning was created)

I then tried with terminal commands and it works as usual.

Comments (3)

  1. Scott Wells repo owner

    I'm glad you were able to get this resolved. Yes, I've seen several people have to uninstall/reinstall the CLI, though never nodeJS until now. It's good to know that might be required in some situations.

  2. Log in to comment