You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elements-api fails with "Gah. The component just crashed" when choosing a Request sample like any JavaScript, Node, C#, Java, Http, Clojure, Kotlin, PHP, Powershell, R, Ruby, Swift.
The console shows:
d94381f7cd272e904ba2.js:2 TypeError: Cannot read properties of undefined (reading 'tokenizePlaceholders')
at web-components.min.js:2:1033816
at Object.run (prism.js:762:1)
at t.tokenize (web-components.min.js:2:1802839)
at t.render (web-components.min.js:2:1803610)
at Ua (web-components.min.js:2:1116747)
at Ba (web-components.min.js:2:1116597)
at Es (web-components.min.js:2:1152045)
at dl (web-components.min.js:2:1143554)
at fl (web-components.min.js:2:1143481)
at rl (web-components.min.js:2:1140515)
Additional context
Environment:
Library version: 7.7.7
OS: Ubuntu 20.04.5 LTS
Browser: Chrome Version 108.0.5359.98 (Official Build) (64-bit)
Platform: Web
The text was updated successfully, but these errors were encountered:
For anyone else who experiences this, for us it was because we were using PrismJS somewhere else in our application and the error only surfaced when using elements package.
Our team recently took over the stewardship of the elements repo.
Due the volume of un-triaged issues that are pretty old and the time it would take us to get caught up on all of them, we kindly ask that you open up a new ticket if this is still an issue you're struggling with.
If you open a new issue please include:
clear steps to reproduce that include example OAS specs, application setup, code, etc.
the error or issue you are experiencing
the expected behavior
We will be triaging any new tickets in a timely manner.
Describe the bug
elements-api
fails with "Gah. The component just crashed" when choosing a Request sample like any JavaScript, Node, C#, Java, Http, Clojure, Kotlin, PHP, Powershell, R, Ruby, Swift.The console shows:
Additional context
Environment:
Library version: 7.7.7
OS: Ubuntu 20.04.5 LTS
Browser: Chrome Version 108.0.5359.98 (Official Build) (64-bit)
Platform: Web
The text was updated successfully, but these errors were encountered: