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

Unexpected token after updating to 5.3.5 #195

Open
vishalsatam opened this issue Jun 19, 2023 · 1 comment
Open

Unexpected token after updating to 5.3.5 #195

vishalsatam opened this issue Jun 19, 2023 · 1 comment

Comments

@vishalsatam
Copy link

I keep seeing this error after updating to version 5.3.5 from 3.4.9. I had to use umd-compat-loader earlier to be able to build this but now I'm seeing the below error. Please help.

./node_modules/vscode-json-languageservice/lib/esm/jsonLanguageService.js 29:23
Module parse failed: Unexpected token (29:23)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
 * ./node_modules/umd-compat-loader/index.js
You may need an additional loader to handle the result of these loaders.
|     configure: settings => {
|       jsonSchemaService.clearExternalSchemas();
>       settings.schemas?.forEach(jsonSchemaService.registerExternalSchema.bind(jsonSchemaService));
|       jsonValidation.configure(settings);
|     },
@zardoy
Copy link
Contributor

zardoy commented Jun 21, 2023

#168 (comment)

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