Salesforce Dev Hub, Scratch Org, and Local Development Server (for Lightning Web Components, LWC)

Опубликовано: 29 Март 2026
на канале: Chris Marquez
4,127
68

In this video, we discuss the following:
1. Enabling a Dev Hub
2. Authorizing an Org
3. Creating a Default Scratch Org
4. Installing the Local Development Server

Submit your questions here:
https://docs.google.com/forms/d/e/1FA...

Subscribe to my Salesforce Newsletter:
https://www.posts.chrismarquez.com/su...

This video is part of a playlist series that explains how to get started with Lightning Development. The following is a link to the playlist:    • Salesforce Lightning Development Setup  

Feel free to leave a comment if you have any questions and/or make a suggestion on what kind of video you would like to see next.

Subscribe and hit the notification bell if you find these videos useful.

Salesforce Documentation: https://developer.salesforce.com/tool...

Follow these steps to install the Local Dev Server:

Step 1:
Install npm: https://nodejs.org/en/download/

Step 2:
Ensure there are no existing yarn.lock files or folders, navigate to the directory C:\Users\\{Your User Folder}\AppData\Local\sfdx

Step 3:
Run the command in Powershell. Make sure you run as an administrator: npm install --global windows-build-tools

Step 4:
Install Python 3: https://www.python.org/downloads/

Step 4:
Move all python files to the root of your hard drive. C:\Users\{Your User Folder}\.windows-build-tools

Step 5:
Make sure that build tools is installed in the folder: C:\Users\{Your User Folder}\.windows-build-tools

Step 6:
Run the command in Powershell. Make sure you run as an administrator: npm install -g node-gyp

Step 7:
Run the command in Powershell. Make sure you run as an administrator: sfdx plugins:install @salesforce/lwc-dev-server

Music:
Daily (Prod. by Lukrembo)
   • lukrembo - daily