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

gotest installation failing due to outdated dependency #1328

Open
DariuszPorowski opened this issue May 8, 2024 · 0 comments · May be fixed by #1339
Open

gotest installation failing due to outdated dependency #1328

DariuszPorowski opened this issue May 8, 2024 · 0 comments · May be fixed by #1339
Assignees
Labels
TestGen Issues related with autorest.gotest

Comments

@DariuszPorowski
Copy link

DariuszPorowski commented May 8, 2024

Cannot use gotest on Node LTS (v20)

error   |   Error: Package '@autorest/gotest' - '4.7.3' failed to install:
  Failed to install package 'https://registry.npmjs.org/@autorest/gotest/-/gotest-4.7.3.tgz' -- Error: Process Failed.
...
...
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
fatal   | Failed to install extension '@autorest/gotest' (4.7.3)

due to outdated deps. The current one is 2.8.0 https://www.npmjs.com/package/@azure/msal-node/v/2.8.0

gotest uses 1.18.4 and it's deprecated: https://www.npmjs.com/package/@azure/msal-node/v/1.18.4

  | error: @azure/[email protected]: The engine "node" is incompatible with this module. Expected version "10 || 12 || 14 || 16 || 18". Got "20.12.2"
  | error: Found incompatible module.
  | info: Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

CC: @tadelesh

@jhendrixMSFT jhendrixMSFT added the TestGen Issues related with autorest.gotest label May 9, 2024
@tadelesh tadelesh self-assigned this May 13, 2024
@tadelesh tadelesh linked a pull request May 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TestGen Issues related with autorest.gotest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants