atularen / ngx-monaco-editor

Monaco Editor component for Angular 2 and Above
https://www.npmjs.com/package/ngx-monaco-editor
MIT License
428 stars 155 forks source link

Can only have one anonymous define call per script file #255

Open SDAdham opened 2 years ago

SDAdham commented 2 years ago

Hello,

I am getting the following error upon using ngx-monaco-editor, can you please help?

Uncaught Error: Can only have one anonymous define call per script file
    at r.enqueueDefineAnonymousModule (loader.js:1391:23)
    at g (loader.js:1878:27)
    at marked.min.js:6:19226
    at marked.min.js:6:19287
r.enqueueDefineAnonymousModule @ loader.js:1391
g @ loader.js:1878
(anonymous) @ marked.min.js:6
(anonymous) @ marked.min.js:6

It's working but this error is happening.