You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
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.
Summary
When using sfdx plugins:generate, the package.json file has an NPM script as follows
"commands": "./lib/commands"
but in the custom plugin directory structure, commands folder is under src folder.
This causes any plug-in commands to fail unless you change the NPM script to point to the correct filder.
Steps To Reproduce:
Result: hello:org is not a command
Result: it works now
Expected result
The package.json NPM script should accurately reflect the directly structured provided.
Actual result
There's a mismatch between the NPM script and the directory structure.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.78.1-5a65d9dd2f darwin-x64 node-v12.18.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version:
MacOS Catalina version 10.15.7
The text was updated successfully, but these errors were encountered: