0

I followed steps in https://trailhead.salesforce.com/content/learn/projects/set-up-your-lightning-web-components-developer-tools/create-a-lightning-web-component : installed CLI, updated VS Code, updated Java 8 SDK to 8.201, installed the Salesforce Extensions pack, enabled Dev Hub and the other setting on the Dev Hub page, and connected to the Dev Hub, and all that worked OK. In the CLI window, >sfdx force:org:list --all yields === Orgs thehulk@resourceful-goat-391018.com 00D1I000003pEBGUA2 Connected No active scratch orgs found.

But, adding a scratch org fails.

In VS Code, pressed Ctrl+Shift+P, and ran "SFDX: Create a Default Scratch Org", then accepted all defaults. The VS Code output window shows :

Starting SFDX: Create a Default Scratch Org...

16:48:43.540 sfdx force:org:create -f config\project-scratch-def.json --setalias Trailhead --durationdays 7 --setdefaultusername ERROR: Cannot read property 'HANDSHAKE' of undefined. 16:48:52.646 sfdx force:org:create -f config\project-scratch-def.json --setalias Trailhead --durationdays 7 --setdefaultusername ended with exit code 1

Any ideas to try? Any workarounds?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.