Newer Version Available
Error: Command Failed with ENOENT
After recently installing Salesforce CLI, you get this error when you run a command such
as force:project:create.
1ERROR running force:project:create: Command failed with ENOENT: npm root -g --prefix /Users/johndoe/Documents/sfdx_workspaces/.yo-repository --loglevel error
2spawnSync npm ENOENTAnswer: Install Node.js.