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

production build failed #1339

Open
bharatpatil21 opened this issue Jul 12, 2024 · 3 comments
Open

production build failed #1339

bharatpatil21 opened this issue Jul 12, 2024 · 3 comments

Comments

@bharatpatil21
Copy link

build failed

`./node_modules/react-vega/node_modules/vega-embed/build/vega-embed.module.js 1211:17
Module parse failed: Identifier directly after number (1211:17)
File was processed with these loaders:

  • ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
    | const editor = window.open(url);

const wait = 10_000;
| const step = 250;
| const {`

Need to fix below variable (wait) value 10_000

image

@domoritz
Copy link
Member

Looks like you may have outdated libraries. There are not enough details to repro but please update all your tooling and see whether it fixes your build.

@bharatpatil21
Copy link
Author

bharatpatil21 commented Jul 15, 2024

After update latest version(6.26.0) get same build error like below,

image

Same number present in main branch
image

@domoritz
Copy link
Member

Update your compilers and dev tooling as well.

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