Azure / Azure/aaz-dev-tools

When submitting TSP resource urls, some flickering errors appear

Open
#539 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
27
Forks
77
Avg merge
2d 10h
Merged PRs (30d)
3

Description

Image

hard to make a screenshot of that error, error msg from the console:
```
err: ExternalError: Emitter "@azure-tools/typespec-aaz" crashed! This is a bug.
Please contact library author to report this issue.

TypeError: Cannot read properties of undefined (reading 'find')
at convertModel2CMDObjectSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:904:33)
at convert2CMDSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:837:18)
at convert2CMDSchema (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:766:16)
at convertModel2CMDObjectSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:927:18)
at convert2CMDSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:837:18)
at convert2CMDSchema (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:766:16)
at extractHttpRequest (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:533:16)
at convert2CMDOperation (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:402:21)
at retrieveAAZOperation (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:371:29)
at http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:2135:39

--------------------------------------------------
Library Version 0.1.0
TypeSpec Compiler Version 1.4.0
--------------------------------------------------
at convertModel2CMDObjectSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:904:33)
at convert2CMDSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:837:18)
at convert2CMDSchema (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:766:16)
at convertModel2CMDObjectSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:927:18)
at convert2CMDSchemaBase (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:837:18)
at convert2CMDSchema (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:766:16)
at extractHttpRequest (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:533:16)
at convert2CMDOperation (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:402:21)
at retrieveAAZOperation (http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:371:29)
at http://127.0.0.1:5000/assets/typespec/pkgs/@azure-tools/typespec-aaz/index.js:2135:39

--------------------------------------------------
Library Version 0.1.0
TypeSpec Compiler Version 1.4.0
--------------------------------------------------
at runEmitter (http://127.0.0.1:5000/assets/typespec/pkgs/@typespec/compiler/index.js:25782:11)
at async http://127.0.0.1:5000/assets/typespec/pkgs/@typespec/compiler/index.js:25758:5
at async emit (http://127.0.0.1:5000/assets/typespec/pkgs/@typespec/compiler/index.js:25756:10)
at async Module.compile (http://127.0.0.1:5000/assets/typespec/pkgs/@typespec/compiler/index.js:25182:26)
at async w7 (http://127.0.0.1:5000/assets/index-B0wpsD70.js:480:6152)
at async http://127.0.0.1:5000/assets/index-B0wpsD70.js:480:10843
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.