Skip to content

When submitting TSP resource urls, some flickering errors appear #539

Description

@necusjz
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions