vignaesh01 / sfdx-package-generator

Salesforce Package.xml Generator Extension for VS Code
https://marketplace.visualstudio.com/items?itemName=VignaeshRamA.sfdx-package-xml-generator
Other
63 stars 31 forks source link

/bin/sh: 1: sfdx: not found #122

Open m-lp-ql-m opened 1 month ago

m-lp-ql-m commented 1 month ago

When clicking on SELECT ALL, this error appears in VS Code.

Screenshot_20240906_102139

Both 'sf' and 'sfdx' at the command line work, so it does appear to be in my path.

EDIT: I should probably add: fresh install of Kubuntu 24.04.1

CLI Version: @salesforce/cli/2.57.7 published 8 days ago (Wed Aug 28 2024)

Architecture: linux-x64

Node Version: node-v20.17.0

Plugin Version: @oclif/plugin-autocomplete 3.2.2 (core) @oclif/plugin-commands 4.0.13 (core) @oclif/plugin-help 6.2.10 (core) @oclif/plugin-not-found 3.2.18 (core) @oclif/plugin-plugins 5.4.6 (core) @oclif/plugin-search 1.2.7 (core) @oclif/plugin-update 4.5.5 (core) @oclif/plugin-version 2.2.11 (core) @oclif/plugin-warn-if-update-available 3.1.13 (core) @oclif/plugin-which 3.2.12 (core) @salesforce/cli 2.57.7 (core) apex 3.4.5 (core) api 1.2.1 (core) auth 3.6.51 (core) data 3.6.3 (core) deploy-retrieve 3.12.0 (core) info 3.4.2 (core) limits 3.3.27 (core) marketplace 1.2.24 (core) org 4.5.4 (core) packaging 2.8.0 (core) schema 3.3.26 (core) settings 2.3.15 (core) sobject 1.4.32 (core) source 3.5.16 (core) telemetry 3.6.10 (core) templates 56.3.14 (core) trust 3.7.25 (core) user 3.5.26 (core)

OS and Version: Linux 6.8.0-41-lowlatency

Shell: bash

Root Path: /home/mark/.nvm/versions/node/v20.17.0/lib/node_modules/@salesforce/cli

MarcTCruz commented 1 month ago

Same problem on Debian 12.

which sfdx /home/mtpc/.nvm/versions/node/v20.17.0/bin/sfdx

Just fresh installed with npm install -g @salesforce/cli, also I had it installed through a script I did using manual installation as well with the same problem.

ujjwalverma55 commented 1 month ago

I am encountering the same issue in VS Code. Can anyone provide a solution?

m-lp-ql-m commented 1 month ago

@ujjwalverma55 Details? Which OS? "which sfdx"?