carbon-app / carbon

:black_heart: Create and share beautiful images of your source code
https://carbon.now.sh
MIT License
34.5k stars 1.91k forks source link

Add a try/catch block to components/Carbon.js to handle the error if the codemirror custom-language package doesn't exist #1448

Closed skevprog closed 6 months ago

skevprog commented 1 year ago

Closes #1438

vercel[bot] commented 1 year ago

@skevprog is attempting to deploy a commit to the Carbon Team on Vercel.

A member of the Team first needs to authorize it.

pierow2k commented 1 year ago

PR worked fine for me and resolved my issues when upgrading from a previous release.

agilityhawk commented 10 months ago

@mfix22 - This looks like a decent fix for a common issue faced by most people. Could you please take a look and approve/merge if all looks good?