ngx-monaco-editor icon indicating copy to clipboard operation
ngx-monaco-editor copied to clipboard

Version 10.0.0-beta.1 published as "latest" on npm

Open nileger opened this issue 5 years ago • 6 comments

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.

nileger avatar Oct 28 '20 12:10 nileger

@NilsLeger Thank you! Saved from a lot of frustration!

mrvdot avatar Nov 01 '20 16:11 mrvdot

I think in the 10.0.0-beta.1 there is a problem with the monaco.d.ts file as it is missing.

DevidCIC avatar Nov 06 '20 14:11 DevidCIC

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 👍

catonice avatar Nov 25 '20 09:11 catonice

It does not work with 9.0.0 as well

gouravagarwal avatar Dec 15 '20 14:12 gouravagarwal

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.

bitbybit-dev avatar Dec 18 '20 11:12 bitbybit-dev

Still same error and missing folder on version 9.0.0. But i see the assets folder in the raw npm package

SebastianAtWork avatar Jan 29 '21 18:01 SebastianAtWork