Closed Ryanckhou closed 9 months ago
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.
@Ryanckhou Are you able to run sf plugins install community@2.4.9
successfully? Can you also provide the output of sf plugins install community --dev-debug
? Thanks!
@mdonnalley ,
The pipeline succeeded when executing sf plugins install community@2.4.9
I've attached the raw log of the installation. raw-log-community-publish.txt
@Ryanckhou thanks - can you you provide the logs for the failed install?
@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!
closing due to inactivity, but please let us know if you still has this issue with node 20.
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)" ] }
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 community@2.4.9 to community@3.0.2 that may have been the cause of the issue.
Steps To Reproduce
Expected
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 community@3.0.2... yarn add v1.22.19
Installing plugin community@3.0.2... [1/4] Resolving packages...Installing plugin community@3.0.2... [2/4] Fetching packages...Installing plugin community@3.0.2... info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.Installing plugin community@3.0.2... 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)" ] }