Open kwin opened 3 years ago
Hi @kwin , thanks for opening this issue.
Most of the dependencies related to our Core plugins - especially the app
one that is used for Firefly applications management.
It is to be fair the first time we receive a feedback with such a long installation time. From our experience, and based on other users feedback, the average is around 60 seconds.
Has it happened once, or do you experience it every time you install a fresh CLI?
Obviously the installation time is shorter, if you have the npm modules already locally available. But if you start from scratch (i.e. no NPM modules downloaded yet) the time is around 400 seconds. Just try e.g. in a plain docker container.
I would strongly suggest to make app
an optional plugin (similar to https://github.com/adobe/aio-cli-plugin-cloudmanager) because Adobe IO CLI is not always used for Firefly.
Well this is where we do not necessarily agree - the CLI is a core component from Project Firefly, and the app plugin is a core component of the CLI.
Let me loop in @sarahxxu for her feedback.
Well I don't use Adobe IO CLI for app development therefore I don't need any app
commands. Whether you consider a relevant use case or not is a different question
We perfectly understand your current usage, however you also would not need the Console, Runtime or Events plugins, which are part of the Core as well.
So far it is a product decision to have them included OOTB, hence let's ask @sarahxxu 's feedback, as she is my PM counterpart.
JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1066
When executing
npm install -g @adobe/aio-cli
with a freshly installed node it downloads 1526(!) dependencies.This is insane and takes a lot of time. Please try to bring down the number of (transitive) dependencies down considerably.