monaco-loader icon indicating copy to clipboard operation
monaco-loader copied to clipboard

Path to the monaco editor from npm does not work.

Open HitendraSinghRathore opened this issue 1 year ago • 3 comments

I tried setting up monaco-editor using the plugin and it is working fine when I use the CDN https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.44.0-rc1/min/vs/loader.min.js but when I try to import from node_modules like: loader.config({ paths: { vs: 'node_modules/monaco-editor/min/vs' } });

get the following error Screenshot 2023-10-05 at 12 01 38 PM Any help is appreciated.

HitendraSinghRathore avatar Oct 05 '23 06:10 HitendraSinghRathore

@suren-atoyan please advise if I am doing something incorrect.

HitendraSinghRathore avatar Oct 05 '23 06:10 HitendraSinghRathore