You need to sign in to do that
Don't have an account?
Ajeeth Kumar S
When i tried to instal LWC local development server in my Mac system i am getting below error. could please guide me to fix this issue
sudo sfdx plugins:install @salesforce/lwc-dev-server
Polling for new version(s) to become available on npm... done
HTTPError: Response code 403 (Forbidden)
Code: ERR_NON_2XX_3XX_RESPONSE
Polling for new version(s) to become available on npm... done
HTTPError: Response code 403 (Forbidden)
Code: ERR_NON_2XX_3XX_RESPONSE
Now i have installed LWC local development server in my mac system. I feel issue with salesforce server.
HI Vikalp Nagar, Can you please try now.
All Answers
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 the 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. Finally tried the below command it worked after a couple of times.
sfdx plugins: install @salesforce/lwc-dev-server
Please mark it as Best Answer if the above information was helpful.
Thanks.
Thanks for this quick response but it's not work for me
when i tried to install this(npm install --global --production windows-build-tools) i am getting below error.
error:
npm WARN config production Use `--omit=dev` instead.
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for windows-build-tools@5.2.2: wanted {"os":"win32"} (current: {"os":"darwin"})
npm ERR! notsup Valid os: win32
npm ERR! notsup Actual os: darwin
- You can skip the 3rd step and before that please update sfdx and also, make sure you run
- npm install -g node-gyp
If it works for you, do post an update here.Please mark it as Best Answer if the above information was helpful.
Thanks.
Now i have installed LWC local development server in my mac system. I feel issue with salesforce server.
HI Vikalp Nagar, Can you please try now.