Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tail-log not working on Windows #174

Closed
shunnaradobe opened this issue Dec 8, 2020 · 7 comments
Closed

tail-log not working on Windows #174

shunnaradobe opened this issue Dec 8, 2020 · 7 comments

Comments

@shunnaradobe
Copy link

shunnaradobe commented Dec 8, 2020

Expected Behaviour

log would be tailed when requested with the tail-log command on windows 10

Actual Behaviour

error thrown:
`
Warning: cloudmanager:environment:tail-log is not a aio command.

Did you mean cloudmanager:set-environment-variables? [y/n]:

» Error: Run aio help cloudmanager for a list of available commands.
`

Reproduce Scenario (including but not limited to)

aio cloudmanager:environment:tail-log 36686 author aemerror

Steps to Reproduce

  1. setup an aio cli on windows
  2. test other commands are working fine (e.g. download-logs)
  3. test tail-log

Windows 10

aio -v
@adobe/aio-cli/5.0.1 win32-x64 node-v14.15.1

@justinedelson
Copy link
Member

@shunnaradobe what is the output of

aio plugins

?

@shunnaradobe
Copy link
Author

Thanks @justinedelson. Output is:
@adobe/aio-cli-plugin-cloudmanager 0.18.2
which seems to be the latest

@justinedelson
Copy link
Member

justinedelson commented Jan 11, 2021

FWIW, I have not been able to reproduce this.

C:\Users\Administrator>aio -v
@adobe/aio-cli/5.0.1 win32-x64 node-v14.15.4

C:\Users\Administrator>aio plugins
@adobe/aio-cli-plugin-cloudmanager 0.18.2

C:\Users\Administrator>aio cloudmanager:tail-log
 ›   Error: Missing 3 required args:
 ›   environmentId  the environment id
 ›   service        the service
 ›   name           the log name
 ›   See more help with --help

C:\Users\Administrator>aio cloudmanager:environment:tail-log
 ›   Error: Missing 3 required args:
 ›   environmentId  the environment id
 ›   service        the service
 ›   name           the log name
 ›   See more help with --help

@justinedelson
Copy link
Member

Short of uninstalling and reinstalling the plugin, it might also be helpful to post a copy of the oclif.manifest.json file here.

It looks like that file can be found in %LOCALAPPDATA%\@adobe\aio-cli\node_modules\@adobe\aio-cli-plugin-cloudmanager

@justinedelson
Copy link
Member

Also (and again, I couldn't reproduce this with a similar Node version), according to adobe/aio-cli#224 (comment), aio-cli does not support Node v14, only 10 and 12.

@justinedelson
Copy link
Member

@shunnaradobe any update on this?

@justinedelson
Copy link
Member

Have not received any feedback, so I assume this is no longer an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants