Skip to content

In aurelia template, it shows "Cannot read properties of null (reading 'insertBefore')" error. #709

@leonidpaslavskyi

Description

@leonidpaslavskyi

I'm submitting a bug report

  • Library Version:
    1.10.2

Please tell us about your environment:

  • Operating System:
    Windows 10

  • Node Version:
    14.17.4

  • NPM Version:
    6.14.14
  • JSPM OR Webpack AND Version
    webpack 4.44.2
  • Browser:
    Chrome 106.0.5249.119

  • Language:
    TypeScript 4.0.3 | ESNext

Current behavior:
In aurelia template, I used multiple if.bind expressions for view elements. If I switches the condition value, it shows "Cannot read properties of null (reading 'insertBefore')" error like following:
image

image

Expected/desired behavior:

  • What is the expected behavior?
    Is should be processed without above error.

  • What is the motivation / use case for changing the behavior?

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