Bug/Error when trying to create my first custom component

Application ID: AF8C4C0B-AA30-E432-FF91-AE0DFA62B800

Oops. An internal error [e8b7a13ae8797e03b883fff82a6d5d51] has occurred. We are working on it. Please try again later

Problem description

Error is happening when I Save the index.js of my custom component

Steps to reproduce

  1. Put mermaid.min.js in the lib folder
  2. Add “import mermaid from ‘./lib/mermaid.min’” to my index.js file
  3. [Save]

Hello @Eric_ten_Voorde

Try to change ./lib/mermaid.min to ./lib/mermaid.min.js in your import.

If it doesn’t work, could you try to make the same locally? Is everything working fine?

If you haven’t any problems locally, please create a folder in your app files that includes your mermaid library. I will look into it in your app.

Thanks for your response. I got it to work with v8.14.0 of Mermaid. Now I will try to upgrade to v9.x and v10.x