Friday, March 4, 2022

Error : " Installing plugin @salesforce/lwc-dev-server... ! " when installing in my Visual Studio in Windows

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

No comments:

Post a Comment

ES12 new Features