pattern-lab / patternlab-node

The Node version of Pattern Lab
http://patternlab.io
MIT License
2.05k stars 405 forks source link

JavaScript error when opening the UI #1460

Closed mfranzke closed 1 year ago

mfranzke commented 1 year ago

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.