-
Notifications
You must be signed in to change notification settings - Fork 78
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
sf plugins install failed (does not exist in the registry) #2564
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Had the same problem today! I did an update earlier today on the @salesforce/cli from version 2.15.9 to the latest version and then everything broke down. After a lot of hassle I just reverted back to cli version 2.15.9 and then it could find the packaging. Hope that helps other people that resently updated! |
same issue here. Seems like the dependency plugin-packaging v1.27.1 cannot be found even though i can find it on npm. Installing the version directly from npm does not seem to help |
How can i rollback with sf v2 without the npm command ? Because sf plugins install @salesforce/[email protected] failed too :) |
I just uninstalled the cli with npm with these two commands: and then installed cli again with the earlier version: Not sure how to do it without "npm"... |
Thanks for reporting. This appears to be Windows only. Can someone please run a plugin install with |
|
Hi @mshanemc The new release don't fix the issue :
sf plugins install @salesforce/plugin-custom-metadata Can you reopen this issue ? |
@mshanemc |
@mshanemc up? |
This issue has been linked to a new work item: W-14480077 |
Hey @Arkin69, my fix for this last Friday worked when installing sf from npm on windows but after I seeing your comment this morning I confirmed it was still failing if you installed the CLI via the installer or tarballs (windows only). We pushed a fix for this which will be available in the nightly channel in a few hours for testing, then we'll patch latest-rc so that the fix gets promoted on Wednesday 15 to the stable channel. Sorry for all the trouble! we have bunch of tests on CI but this bug only happens if you have a space in the path where your CLI is installed (which in GitHub Actions isn't a problem b/c so all of our tests just passed). |
Hi, I don't want to de-rail the issue, but I think this might be related?
I know it's still the sfdx command, however the version of @salesforce/cli is This is on ubuntu system btw I can try to update my commands usage to the newer sf version, but this was an old file I was hoping would be compatible. |
@Arkin69 can you try updating to nightly then installing a plugin? update to nightly:
then and updating to nightly docs: |
@erocheleau that looks like a different error, can you file a new issue: https://github.com/forcedotcom/cli/issues/new?assignees=&labels=investigating&projects=&template=bug_report.md&title= |
The fix for this was shipped in the latest stable release sf v2.17.14 (will update our release notes in a bit). |
Sorry I missed that reply. Well my solution was to manually install the community plugin before running my tests. I believe the cause was that the test run is executed through ts-node. I think because the command is effectively Anyway I got it working for my use-case, thanks! |
Summary
Hi i can't install any plugin with the command sf plugins install.
I have tried community or custom-metadata plugin. Same issue
Steps To Reproduce
sf plugins install @salesforce/plugin-community
Actual result
sf plugins install @salesforce/plugin-community
Polling for new version(s) to become available on npm... done
Successfully validated digital signature for @salesforce/plugin-community.
Finished digital signature check.
Installing plugin community@latest... failed
» Error: @salesforce/plugin-community does not exist in the registry.
sf plugins install @salesforce/plugin-custom-metadata
Polling for new version(s) to become available on npm... done
Successfully validated digital signature for @salesforce/plugin-custom-metadata.
Finished digital signature check.
Installing plugin custom-metadata@latest... failed
» Error: @salesforce/plugin-custom-metadata does not exist in the registry.
/AppData/Local/sf/error.log :
System Information
Powershell 7.3.9
sf version --verbose --json
The text was updated successfully, but these errors were encountered: