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
NOTE: This issue is the same as the one reported over on the Emulsify CLI repo (emulsify-ds/emulsify-cli#310) - not sure where it should go if the docs need to be updated, or if this is a bug with the CLI)
Describe the bug
On this page: Emulsify CLI Usage the documentation for how to install components says to use emulsify component list etc. I've found this gives an error:
/Users/username/.nvm/versions/node/v20.18.0/lib/node_modules/@emulsify/cli/dist/node_modules/commander/lib/command.js:1225
throw new Error(executableMissing);
^
Error: 'emulsify-component' does not exist
- if 'component' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
- searched for local subcommand relative to directory '/Users/marcberger/.nvm/versions/node/v20.18.0/lib/node_modules/@emulsify/cli/dist'
at ChildProcess.<anonymous> (/Users/marcberger/.nvm/versions/node/v20.18.0/lib/node_modules/@emulsify/cli/dist/node_modules/commander/lib/command.js:1225:15)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Node.js v20.18.0
If I use emulsify list then I get a list of components. It also works to install via emulsify install --all whereas emulsify component install --all does not, I get the same error as above.
This is with emulsify v 1.11.3
To Reproduce
Steps to reproduce the behavior:
Install emulsify with drush emulsify themename
If not already done, install emulsify CLI - npm i -g @emulsify/cli
Go into the new theme directory and run emulsify system install emulsify-ui-kit
Now run emulsify component list or emulsify component install --all
See error
Expected behavior
I was able to get this to work by running emulsify list and emulsify install --all so, not sure if the docs just need to be updated or if the CLI should support both commands
Desktop (please complete the following information):
OS: macOS Sonoma 14.7
Browser N/A
The text was updated successfully, but these errors were encountered:
NOTE: This issue is the same as the one reported over on the Emulsify CLI repo (emulsify-ds/emulsify-cli#310) - not sure where it should go if the docs need to be updated, or if this is a bug with the CLI)
Describe the bug
On this page: Emulsify CLI Usage the documentation for how to install components says to use
emulsify component list
etc. I've found this gives an error:If I use
emulsify list
then I get a list of components. It also works to install viaemulsify install --all
whereasemulsify component install --all
does not, I get the same error as above.This is with emulsify v 1.11.3
To Reproduce
Steps to reproduce the behavior:
drush emulsify themename
npm i -g @emulsify/cli
emulsify system install emulsify-ui-kit
emulsify component list
oremulsify component install --all
Expected behavior
I was able to get this to work by running
emulsify list
andemulsify install --all
so, not sure if the docs just need to be updated or if the CLI should support both commandsDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: