Hi everyone,
I tried to find an answer, but I can't make it work after hours of trying 😦
Subject: Install and use the Monaco Editor (I used this module https://nuxt.com/modules/nuxt-monaco-editor)
Problem: I get this error when I load a page using the <MonacoEditor> component => ENOENT: no such file or directory, open '/__skip_vite/node_modules/monaco-editor/esm/vs/editor/editor.worker.js'
What I tried :
- delete package.lock + node_modules + .nuxt and install again
- chmod 777 the entire node_modules
- put the MonacoEditor component inside a <ClientOnly>
I'm using nuxt 3, the module is inside my nuxt.config.ts, I see the file editor.worker.jsinside my node_modules
Did someone got the same error please ? 🙏