Skip to content

Syntax error in ESM script doesn’t link to specific line #1601

@albertvanveen

Description

@albertvanveen

Description

With classic scripts, syntax errors would provide a clickable link that navigates directly to the specific line in the Script Editor. However, with ESM scripts, syntax errors do not provide any link, so you cannot jump to the relevant line to fix the issue.

Steps to Reproduce

  1. Create a project using ESM scripts like test.mjs.
  2. Introduce a syntax error, for example: this.app( inside initialize().
  3. Save the script and launch the project.
  4. Check the error.
  5. Observe that it does not provide a link.

Result

Classic script:
Image

ESM script:
Image

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