I am trying to set-up the Adobe IO cli to tail the logs for AEMaaCS following the document
I am able to install Node version which is currently
>node --version v12.22.12
However, when i am trying to run the command
aio plugins:install @adobe/aio-cli-plugin-cloudmanager
I see below error
C:\Users\aswaroop>aio plugins:install @adobe/aio-cli-plugin-cloudmanager C:\Users\aswaroop\AppData\Roaming\npm\node_modules\@adobe\aio-cli\node_modules\@oclif\core\lib\command.js:41 delete this.globalFlags?.json; ^ SyntaxError: Unexpected token '.' ←[90m at wrapSafe (internal/modules/cjs/loader.js:915:16)←[39m ←[90m at Module._compile (internal/modules/cjs/loader.js:963:27)←[39m ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m at Object.<anonymous> (C:\Users\aswaroop\AppData\Roaming\npm\node_modules\←[4m@adobe←[24m\aio-cli\node_modules\←[4m@oclif←[24m\core\lib\index.js:6:19) ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
Do we have any resolution to this?
Could you try upgrading the node version and then try to install the cloud manager plugin ? I have node version 18.14.2 and it is working fine.
with updated node I see below
We are facing similar issue.
We are using
node - 16.17.0
npm - 8.15.0
runtime documentation recommends this - https://developer.adobe.com/runtime/docs/guides/reference/runtimes/
anyone has any other inputs?
@k0204 - Can you navigate to the node module "@oclif" and see its package.json ?
Also check the file in question command.js.
Ideally yes, you don't have to even look at these dependencies!
Here's my package.json for this module -
Also the file command.js for the variable "this.globalFlags" looks like this for me -
Can you share your results for the same?