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

Failed to install extension '@autorest/typescript' with node 22.5.0 #4993

Closed
chenrui333 opened this issue Jul 18, 2024 · 1 comment
Closed
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@chenrui333
Copy link

👋 while regression testing autorest 3.7.1 against node 22.5.0, I ran into some test failure as below:

==> /opt/homebrew/Cellar/autorest/3.7.1/bin/autorest --input-file=petstore.yaml --typescript --output-folder=petstore
AutoRest code generation utility [cli version: 3.7.1; node: v22.5.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: ^3.7.0.
(node:30609) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info    |    Loading AutoRest core      '/private/tmp/autorest-test-20240718-30601-pacxs0/.autorest/@autorestcore@3.10.2/nodemodules/@autorest/core/dist' (3.10.2)
(node:30614) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info    |    Installing AutoRest extension '@autorest/typescript' (latest -> 6.0.23)
info    |    Installed AutoRest extension '@autorest/typescript' (latest->6.0.23)
error   |   Error: ENOENT: no such file or directory, scandir '/private/tmp/autorest-test-20240718-30601-pacxs0/.autorest/@autoresttypescript@6.0.23/nodemodules/@autorest/typescript'
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/typescript' (latest)

relates to Homebrew/homebrew-core#177645
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/9980021240/job/27594462685?pr=177645

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 18, 2024
@chenrui333
Copy link
Author

probably this issue, nodejs/node#53934

closing this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant