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

Yaml worker can't read properties of undefined

Open no1melman opened this issue 8 months ago • 1 comments

TypeError: Cannot read properties of undefined (reading 'indexOf')
    at resolveRefs (http://localhost:5173/node_modules/.vite/deps/monaco-yaml_yaml__worker__js.js?v=8e002f8b:29936:27)
    at YAMLSchemaService.resolveSchemaContent (http://localhost:5173/node_modules/.vite/deps/monaco-yaml_yaml__worker__js.js?v=8e002f8b:29962:11)
    at http://localhost:5173/node_modules/.vite/deps/monaco-yaml_yaml__worker__js.js?v=8e002f8b:26721:32
    at async YamlCompletion.doComplete (http://localhost:5173/node_modules/.vite/deps/monaco-yaml_yaml__worker__js.js?v=8e002f8b:31640:23)

image

I'm not sure where this has come from. I've followed your vite example.

no1melman avatar Jun 19 '24 15:06 no1melman