Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install the LWC Local Development Server - Response code 403 #160

Closed
LiveLikeLastDay opened this issue Sep 8, 2023 · 3 comments
Closed

Comments

@LiveLikeLastDay
Copy link

Summary

Can't install the LWC Local Development Server due to HTTPError: Response code 403 (Forbidden)

Steps To Reproduce:

  1. Run sfdx plugins:install @salesforce/lwc-dev-server by following https://developer.salesforce.com/tools/vscode/en/localdev/set-up-lwc-local-dev

Expected result

Local dev server is installed.

Actual result

Polling for new version(s) to become available on npm... done
HTTPError: Response code 403 (Forbidden)
Code: ERR_NON_2XX_3XX_RESPONSE

Additional information

Salesforce Extension Version in VS Code: v58.14.1

SFDX CLI Version:sfdx-cli/7.209.6 win32-x64 node-v18.15.0

OS and version: Windows 11 [Version 10.0.22621.2215]

@CristiCanizales CristiCanizales transferred this issue from forcedotcom/salesforcedx-vscode Sep 13, 2023
@Varout
Copy link

Varout commented Sep 14, 2023

I have also experienced this today using WSL on Windows 10.
Steps To Reproduce & Expected Results are the same.

Actual Result

Polling for new version(s) to become available on npm... done
    HTTPError: Response code 403 (Forbidden)
    Code: ERR_NON_2XX_3XX_RESPONSE

Additional Information

  • WSL OS: Ubuntu 22.04.3 LTS
  • CLI installed via NPM: @salesforce/cli@2.7.11
  • Tried the installation on another machine with the same WSL OS, NPM install, and network: Same result

@RaymondChuh
Copy link

Hi all, I have been trying to install the local dev server in last couple day but experiencing the same issue.

Summary
Can't install the LWC Local Development Server due to HTTPError: Response code 403 (Forbidden)

Steps To Reproduce:

  1. Run sfdx plugins:install @salesforce/lwc-dev-server by following https://developer.salesforce.com/tools/vscode/en/localdev/set-up-lwc-local-dev

Expected result
Local dev server is installed.

Actual result
Polling for new version(s) to become available on npm... done
HTTPError: Response code 403 (Forbidden)
Code: ERR_NON_2XX_3XX_RESPONSE

Additional information

  • Salesforce Extension Pack Version in VS Code: v58.14.2
  • SFDX CLI Version:@salesforce/cli/2.7.11 darwin-arm64 node-v18.15.0
  • OS and version: macOS 12.3 (21E230)

@mshanemc
Copy link

thanks for letting us know. This is now fixed and you can install the plugin again.

Sorry, y'all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants