Cloud

Installing plugin @salesforce/lwc-dev-server… !

 Local Development Server is a Salesforce CLI plug-in that configures and runs a Lightning Web Components-enabled server on our computer.

We can develop Lightning web components and see live changes without publishing the components to an org.

Local development supports Lightning web components only. It doesn’t support Aura components.

Majority of the folks will face lwc server plugin issues.

Issue Name: Installing plugin @salesforce/lwc-dev-server… ! ” when installing in my Visual Studio in Windows

Below are the Steps to fix the above Issue:

===================================

1. Installation of Nodejs software and disconnect from office network VPN (if connected).

2. >Install node gyp by running 

      npm install -g node-gyp

    >In command prompt or whatever command-line interface you use.

3. And then after that, you can run 

     npm install –global –production windows-build-tools

4. And finally tried the below command it worked after 2 3 times..

     sfdx plugins:install @salesforce/lwc-dev-server

Loading

Translate »