ngx-monaco-editor
ngx-monaco-editor copied to clipboard
Version 10.0.0-beta.1 published as "latest" on npm
Hello everyone,
Problem
I installed the ngx-monaco-editor in an Angular 10 application which resulted in the following error:
[...]monaco/vs/loader.js net::ERR_ABORTED 404 (Not Found)
Angular configuration was done as described.
Solution
On npm version 10.0.0-beta.1 is the latest version and it has a bug. When I used version 9.0.0 it worked - with the same Angular configuration.
Conclusion
I think there is a mistake and version 10.0.0-beta.1 shouldn't be the latest version.
@NilsLeger Thank you! Saved from a lot of frustration!
I think in the 10.0.0-beta.1 there is a problem with the monaco.d.ts file as it is missing.
Thanks, I didn't understand why the editor wasn't showing up having followed the steps - I installed 8.1.1 to solve the issue and now I can see the editor 👍
It does not work with 9.0.0 as well
9.0.0 works fine for me, 10.0.0-beta.1 seems to be missing assets folder in node_modules/ngx-monaco-editor and I suppose this causes
[...]monaco/vs/loader.js net::ERR_ABORTED 404 (Not Found)
to be thrown. Cheers.
Still same error and missing folder on version 9.0.0. But i see the assets folder in the raw npm package