When I try to create project with manifest it is giving me this error:
Starting SFDX: Create Project
12:39:56.757 sfdx force:project:create --projectname Dev --outputdir c:\ --template standard --manifest
{ AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\lib\templates\project\standard\ScratchDef.json
at EditionInterface.exports.copy (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\mem-fs-editor\lib\actions\copy.js:49:3)
at EditionInterface.module.exports [as copyTpl] (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:29:8)
at ProjectGenerator.writing (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\lib\generators\projectGenerator.js:57:17)
at Object.<anonymous> (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\yeoman-generator\lib\index.js:427:27)
at C:\Program Files (x86)\Salesforce CLI\client\node_modules\run-async\index.js:25:25
at new Promise (<anonymous>)
at C:\Program Files (x86)\Salesforce CLI\client\node_modules\run-async\index.js:24:19
at self.env.runLoop.add.completed (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\yeoman-generator\lib\index.js:428:13)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
generatedMessage: false,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==' }
{ AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\lib\templates\project\standard\ScratchDef.json
at EditionInterface.exports.copy (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\mem-fs-editor\lib\actions\copy.js:49:3)
at EditionInterface.module.exports [as copyTpl] (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:29:8)
at ProjectGenerator.writing (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\lib\generators\projectGenerator.js:57:17)
at Object.<anonymous> (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\yeoman-generator\lib\index.js:427:27)
at C:\Program Files (x86)\Salesforce CLI\client\node_modules\run-async\index.js:25:25
at new Promise (<anonymous>)
at C:\Program Files (x86)\Salesforce CLI\client\node_modules\run-async\index.js:24:19
at self.env.runLoop.add.completed (C:\Program Files (x86)\Salesforce CLI\client\node_modules\salesforcedx-templates\node_modules\yeoman-generator\lib\index.js:428:13)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
generatedMessage: false,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==' }
12:40:03.206 sfdx force:project:create --projectname Dev --outputdir c:\ --template standard --manifest
ended with exit code 0
Can you please let me know what I am missing:
I have:
- installed vs code, salesforce extension pack, salesforce cli, set the environment variable for my user, there is jdk installed (I have not set the path for it, not sure if it is required?)
What I am missing?
Thanks in Advance!!