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

@salesforce/plugin-community3.0.2 fails to install #2597

Closed
Ryanckhou opened this issue Dec 5, 2023 · 7 comments
Closed

@salesforce/plugin-community3.0.2 fails to install #2597

Ryanckhou opened this issue Dec 5, 2023 · 7 comments
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated

Comments

@Ryanckhou
Copy link

Summary

We are getting an error whenever we are trying to publish an SF community via Azure DevOps Pipelines. This started on November 29th, 1:32PM CST. We have the same pipelines working with the most recent success on November 29th, 10:26AM CST

Looks like there was an update on the @salesforce/plugin-community from
[email protected] to [email protected] that may have been the cause of the issue.

Steps To Reproduce

  • Connect CLI to org with experience cloud site setup
  • Set up project
  • execute "sf community publish --name "Name of Community" -o "Alias""

Expected

123

Actual result

Generating script.
Script contents:
sf community publish --name "" -o ""
========================== Starting Command Output ===========================
/usr/bin/bash /home/vsts/work/_temp/d04c2df2-09c2-4738-a56d-d846803791bd.sh
Installing plugin [email protected]... yarn add v1.22.19
Installing plugin [email protected]... [1/4] Resolving packages...Installing plugin [email protected]... [2/4] Fetching packages...Installing plugin [email protected]... info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.Installing plugin [email protected]... failed
JitPluginInstallError: Could not install @salesforce/plugin-community
Code: JitPluginInstallError
##[error]Bash exited with code '1'.

System Information

using git bash
{
"architecture": "linux-x64",
"cliVersion": "@salesforce/cli/2.19.8",
"nodeVersion": "node-v16.20.0",
"osVersion": "Linux 6.2.0-1016-azure",
"rootPath": "/opt/hostedtoolcache/node/16.20.0/x64/lib/node_modules/@salesforce/cli",
"shell": "bash",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.0.2 (core)",
"@oclif/plugin-commands 3.0.7 (core)",
"@oclif/plugin-help 6.0.7 (core)",
"@oclif/plugin-not-found 3.0.4 (core)",
"@oclif/plugin-plugins 4.1.8 (core)",
"@oclif/plugin-search 1.0.8 (core)",
"@oclif/plugin-update 4.1.3 (core)",
"@oclif/plugin-version 2.0.7 (core)",
"@oclif/plugin-warn-if-update-available 3.0.3 (core)",
"@oclif/plugin-which 3.0.10 (core)",
"@salesforce/cli 2.19.8 (core)",
"apex 3.0.6 (core)",
"auth 3.0.7 (core)",
"data 3.0.1 (core)",
"deploy-retrieve 2.1.3 (core)",
"info 3.0.3 (core)",
"limits 3.0.2 (core)",
"marketplace 1.0.6 (core)",
"org 3.0.7 (core)",
"packaging 1.27.2 (core)",
"schema 3.0.4 (core)",
"settings 2.0.6 (core)",
"sobject 1.0.2 (core)",
"source 2.11.4 (core)",
"telemetry 3.1.2 (core)",
"templates 56.0.2 (core)",
"trust 3.0.4 (core)",
"user 3.0.4 (core)",
"sfdx-git-delta 5.30.0 (user)"
]
}

@Ryanckhou Ryanckhou added the investigating We're actively investigating this issue label Dec 5, 2023
Copy link

github-actions bot commented Dec 5, 2023

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.

@github-actions github-actions bot added the validated Version information for this issue has been validated label Dec 5, 2023
@mdonnalley
Copy link
Contributor

@Ryanckhou Are you able to run sf plugins install [email protected] successfully? Can you also provide the output of sf plugins install community --dev-debug? Thanks!

@Ryanckhou
Copy link
Author

@mdonnalley ,

The pipeline succeeded when executing sf plugins install [email protected]

I've attached the raw log of the installation.
raw-log-community-publish.txt

@mdonnalley
Copy link
Contributor

@Ryanckhou thanks - can you you provide the logs for the failed install?

@mdonnalley
Copy link
Contributor

@Ryanckhou I just noticed that you're on node 16 which has been moved to end-of-life (see announcement). Can you try upgrading to node 20 to see if that resolves your issue? Thanks!

@cristiand391
Copy link
Member

closing due to inactivity, but please let us know if you still has this issue with node 20.

@cristiand391 cristiand391 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
@dainiusSenfeldasDVAG
Copy link

Installing community plugin is still failing.

Attached failed install log with -dev-debug.
log.txt

using git bash
System information

{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.25.7",
"nodeVersion": "node-v21.6.2",
"osVersion": "Darwin 23.5.0",
"rootPath": "/usr/local/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@jayree/sfdx-plugin-manifest 3.1.58 (user)",
"@oclif/plugin-autocomplete 3.0.5 (core)",
"@oclif/plugin-commands 3.1.1 (core)",
"@oclif/plugin-help 6.0.12 (core)",
"@oclif/plugin-not-found 3.0.9 (core)",
"@oclif/plugin-plugins 4.1.17 (core)",
"@oclif/plugin-search 1.0.12 (core)",
"@oclif/plugin-update 4.1.8 (core)",
"@oclif/plugin-version 2.0.11 (core)",
"@oclif/plugin-warn-if-update-available 3.0.9 (core)",
"@oclif/plugin-which 3.0.15 (core)",
"@salesforce/cli 2.25.7 (core)",
"apex 3.0.18 (core)",
"auth 3.3.2 (core)",
"data 3.0.16 (core)",
"deploy-retrieve 3.2.0 (core)",
"info 3.0.17 (core)",
"limits 3.1.4 (core)",
"marketplace 1.0.16 (core)",
"org 3.3.5 (core)",
"packaging 2.1.1 (core)",
"schema 3.1.0 (core)",
"settings 2.0.17 (core)",
"sobject 1.1.2 (core)",
"source 3.1.5 (core)",
"telemetry 3.1.10 (core)",
"templates 56.0.10 (core)",
"trust 3.3.2 (core)",
"user 3.2.3 (core)",
"lightning-flow-scanner 2.16.0 (user)",
"sfdx-mohanc-plugins 0.0.364 (user)",
"sfpowerkit 3.2.2 (user)"
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue validated Version information for this issue has been validated
Projects
None yet
Development

No branches or pull requests

4 participants