Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

JavaScript error when opening the UI #1460

Closed
mfranzke opened this issue Dec 29, 2022 · 0 comments · Fixed by #1461
Closed

JavaScript error when opening the UI #1460

mfranzke opened this issue Dec 29, 2022 · 0 comments · Fixed by #1461
Assignees

Comments

@mfranzke
Copy link
Contributor

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant