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

Not able to run sf plugins install @salesforce/plugin-lightning-dev@latest #315

Open
ajiteshps opened this issue Jan 13, 2025 · 2 comments

Comments

@ajiteshps
Copy link

Summary

Not able to run sf plugins install @salesforce/plugin-lightning-dev@latest.
Getting below message to attempt get the version :
Polling for new version(s) to become available on npm... ⣷ attempt: 3 of 300
after 300 it fails

SF version : @salesforce/cli/2.38.7 darwin-arm64 node-v20.16.0

Steps To Reproduce:

sf plugins install @salesforce/plugin-lightning-dev
sf plugins install @salesforce/plugin-lightning-dev@latest

Expected Result

Installation should happen as per below document :
https://developer.salesforce.com/docs/platform/lwc/guide/get-started-test-components.html

Actual Result

Getting the above error

Additional Information

Screenshots:
image
image

System Information

SF CLI:

zsh
CLI version
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.38.7",
"nodeVersion": "node-v20.16.0",
"osVersion": "Darwin 23.6.0",
"rootPath": "/usr/local/lib/sf",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.15 (core)",
"@oclif/plugin-commands 3.3.1 (core)",
"@oclif/plugin-help 6.0.21 (core)",
"@oclif/plugin-not-found 3.1.4 (core)",
"@oclif/plugin-plugins 5.0.10 (core)",
"@oclif/plugin-search 1.0.22 (core)",
"@oclif/plugin-update 4.2.6 (core)",
"@oclif/plugin-version 2.0.17 (core)",
"@oclif/plugin-warn-if-update-available 3.0.15 (core)",
"@oclif/plugin-which 3.1.7 (core)",
"@salesforce/cli 2.38.7 (core)",
"apex 3.1.5 (core)",
"auth 3.6.1 (core)",
"data 3.3.1 (core)",
"deploy-retrieve 3.6.3 (core)",
"info 3.2.1 (core)",
"limits 3.3.3 (core)",
"marketplace 1.2.1 (core)",
"org 4.1.1 (core)",
"packaging 2.4.0 (core)",
"schema 3.3.3 (core)",
"settings 2.2.1 (core)",
"sobject 1.3.3 (core)",
"source 3.3.1 (core)",
"telemetry 3.3.2 (core)",
"templates 56.2.2 (core)",
"trust 3.6.3 (core)",
"user 3.5.2 (core)",
"@salesforce/sfdx-scanner 4.7.0 (user)"
]
}

@nrkruk
Copy link
Collaborator

nrkruk commented Jan 14, 2025

@ajiteshps ensure you aren't actively running the local dev CLI anywhere and then delete the cached zip /Users/ajiteshpratap.singh/Library/Caches/salesforce-plugin-lightning-dev-1.10.0.tgz

Then run update the sf update to get the latest version of the SF CLI.

Then attempt to install the plugin again sf plugins install @salesforce/plugin-lightning-dev@latest

@ajiteshps
Copy link
Author

@nrkruk - I tried searching the above file using terminal and search on mac but didn't find it.

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

2 participants