Hi All,
I am trying to setup Adobe I/O CLI and Cloud Manager Plugin in my local system with the below command
npm install -g @adobe/aio-cli - Installed successfully and able to run aio commands.
but I am getting below error for cloud manager plugin installation
Command - aio plugins:install @adobe/aio-cli-plugin-cloudmanager
Error
error Couldn't find package "halfred" on the "npm" registry.
Error: Couldn't find package "cli-ux" on the "npm" registry.
at MessageError.ExtendableBuiltin (C:\Users\psa\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\yarn\lib\cli.js:721:66)
at new MessageError (C:\Users\psa\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\yarn\lib\cli.js:750:123)
at NpmResolver.<anonymous> (C:\Users\psa\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\yarn\lib\cli.js:50489:15)
at Generator.next (<anonymous>)
at step (C:\Users\psa\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\yarn\lib\cli.js:310:30)
at C:\Users\psa\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\yarn\lib\cli.js:321:13
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Error: Couldn't find package "figures" on the "npm" registry.
Installing plugin @adobe/aio-cli-plugin-cloudmanager... failed
Error: yarn add @adobe/aio-cli-plugin-cloudmanager@latest --non-interactive --mutex=file:C:\Users\psa\AppData\Local\@adobe\aio-cli\yarn.lock
--preferred-cache-folder=C:\Users\psa\AppData\Local\@adobe\aio-cli\yarn --check-files exited with code
I am getting below for aio info command
------------------------------------------
System:
OS: Windows 10 10.0.19042
CPU: (8) x64 Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
Memory: 2.48 GB / 15.81 GB
Binaries:
Node: 14.17.3 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
Virtualization:
Docker: Not Found
npmGlobalPackages:
@adobe/aio-cli: Not Found
Could you please suggest me to resolve the issue.
Solved! Go to Solution.
Views
Replies
Total Likes
Have you tried doing
npm install -g yarn
and then restarting your terminal to do the installation again ?
Have you tried doing
npm install -g yarn
and then restarting your terminal to do the installation again ?
I found that I required NodeJS 14 to install aio-cli then had to update to NodeJS 16 to install the cloudmanager plugin.
Views
Replies
Total Likes
Hi @Nirmal_Jose @bkrtrp @R_R_P
Just try to install aio-cli-plugin-cloudmanager facing issue with below error.
Really appreciate inputs here.
C:\Users\12345>node -v
v18.16.0
C:\Users\12345>npm -v
9.5.1
C:\Users\12345>aio plugins:install @adobe/aio-cli-plugin-cloudmanager
Installing plugin @adobe/aio-cli-plugin-cloudmanager... \ [1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@adobe%2faio-cli-plugin-cloudmanager: unable to get loInstalling plugin @adobe/aio-cli-plugin-cloudmanager... failed
Error: yarn add @adobe/aio-cli-plugin-cloudmanager@latest --non-interactive
--mutex=file:C:\Users\12345\AppData\Local\@adobe\aio-cli\yarn.lock
--preferred-cache-folder=C:\Users\12345\AppData\Local\@adobe\aio-cli\yarn --check-files exited with code 1
Views
Replies
Total Likes
You may need to downgrade to NodeJS16.
It also appears you need to install yarn.
npm install -g yarn
Views
Replies
Total Likes
Hi @bkrtrp,
installed yarn already but will try with NodeJS16 version.
Views
Replies
Total Likes
Still the same issue @bkrtrp even after downgrade Nod JS version16. Any inputs here to resolve and install it.
Views
Replies
Total Likes
My next thought would be about npm version. The only other variable I see from what I got to work is the npm version.
I would suggest the following:
- npm cache clear --force
- npm install -g npm@8.19.4
- aio plugins:install @adobe/aio-cli-plugin-cloudmanager
Views
Replies
Total Likes
@bkrtrp Had try above mentioned commands downgrading npm version and cache clear but still same issue when ran aio plugin for cloud manager.
Any thought where the issue could be exactly ?
Views
Replies
Total Likes
No, issue exactly is a mix of packages and versions and software....smile.
Last try then we'll need to hear from others in the community or support...
I had to go about it this way:
- clear my paths, .nvm, .npm folders
- Install nodejs 14
- Install aio client with nodejs 14
- Install yarn globally
- Install nodejs 16
- Install aio plugin
So likely you've got orphans and cache data from the version changings that are working against the effort. Cleanup, start the minimum with node14, reinstall aio, install yarn, update to node 16, install aio plugin:cloudmanager.
Remember to be targeting aio plugin:install for cloudmanager. If you do the npm install cloudmanager it will work but change all your command lines from aio to cloudmanager.
Good luck.
Views
Replies
Total Likes
Views
Likes
Replies