Skip to content

JavaScript error when opening the UI #1460

@mfranzke

Description

@mfranzke

I am using Pattern Lab Node v5.17.0 on Mac, with Node v14.21.2, using a Vanilla Edition.

Expected Behavior

I could open https://patternlab-handlebars-preview.netlify.app/?p=all without a JavaScript being shown on the console.

Actual Behavior

Currently the following JS error is shown within the Developer tools console:

Uncaught TypeError: l.a.compile(...).render is not a function
    at Object.renderPanels (pl-modal-viewer-chunk-355bf7bd23c6dfa23bb7.modern.js:5:2164)
    at i.checkPanels (pl-modal-viewer-chunk-355bf7bd23c6dfa23bb7.modern.js:1:2301)
    at o.emitEvent (patternlab-viewer.modern.js:194:2344)
    at i.trigger (patternlab-viewer.modern.js:194:205)
    at XMLHttpRequest.<anonymous> (pl-modal-viewer-chunk-355bf7bd23c6dfa23bb7.modern.js:5:401)
Steps to Reproduce

Open https://patternlab-handlebars-preview.netlify.app/?p=all and open Developer tools console.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions