1

I am following this tutorial: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins_generate_scaffold.htm

I have followed in exactly down as far is the command

bin/run hello:org -h

But, unfortunately, this results in Error: command hello:org not found

Has anyone else run into this issue? As far as I can tell, all files have been generated, src/commands/hello/org.ts exists.

4
  • try the command with "." added in the start. something like " .\bin\run hello:org -h". reference : github.com/forcedotcom/sfdx-plugin-generate/issues/50
    – Kalpana
    Commented May 14, 2021 at 13:39
  • If that doesn't work try workaround mentioned in github.com/forcedotcom/sfdx-plugin-generate/issues/74.
    – Kalpana
    Commented May 14, 2021 at 13:42
  • Wow. Salesforce know that they have a captive audience if they can get away with such incredibly shoddy development tools. (SFDX is SO buggy) @Kalpana if you post your solution as an answer I will accept it.
    – NickJ
    Commented May 14, 2021 at 14:00
  • Thanks! @NickJ I have posted the same thing as answer.
    – Kalpana
    Commented May 14, 2021 at 14:06

1 Answer 1

2

Try the command with "." added in the start. something like " .\bin\run hello:org -h".

Reference : https://github.com/forcedotcom/sfdx-plugin-generate/issues/50

If that doesn't work try workaround mentioned in here

Thanks!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .