Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaml worker can't read properties of undefined #238

Open
no1melman opened this issue Jun 19, 2024 · 1 comment
Open

Yaml worker can't read properties of undefined #238

no1melman opened this issue Jun 19, 2024 · 1 comment

Comments

@no1melman
Copy link

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.

@remcohaszing
Copy link
Owner

Please provide and example repository and exact steps to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants