You need to sign in to do that
Don't have an account?
Soundhariyaa M
I'm not able to create a new project in Visual Studio Code : Starting SFDX: Create Project
This is the Error I get when I try to create a new project "HelloWorldLightningWebComponent" in Visual Studio Code
Starting SFDX: Create Project
14:33:27.962 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\msoundhariya\Desktop\Salesforce --template standard
ERROR running force:project:create: Command failed with exit code 1: npm root -g --prefix c:\Users\msoundhariya\Desktop\Salesforce\.yo-repository --loglevel error
'npm' is not recognized as an internal or external command,
operable program or batch file.
14:33:29.121 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\msoundhariya\Desktop\Salesforce --template standard
ended with exit code 1
Could anyone help to resolve this ?!
Thanks in Advance
Starting SFDX: Create Project
14:33:27.962 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\msoundhariya\Desktop\Salesforce --template standard
ERROR running force:project:create: Command failed with exit code 1: npm root -g --prefix c:\Users\msoundhariya\Desktop\Salesforce\.yo-repository --loglevel error
'npm' is not recognized as an internal or external command,
operable program or batch file.
14:33:29.121 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\msoundhariya\Desktop\Salesforce --template standard
ended with exit code 1
Could anyone help to resolve this ?!
Thanks in Advance
All Answers
Can you please ensure the path is appropriate in environment variables?Also, can you clarify if you are seeing this message from a long time or just today?
See below links for more information:
https://salesforce.stackexchange.com/questions/304554/npm-is-not-recognized-as-an-internal-or-external-command-vs-code-salesforc
https://stackoverflow.com/questions/59679185/npm-is-not-recognized-as-an-internal-or-external-command-operable-program-or
https://developer.salesforce.com/forums/?id=9062I000000IEleQAG
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.
Thank you