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

[Error] Compilation Error When Importing Component #2

Open
snowons opened this issue Jun 16, 2023 · 0 comments
Open

[Error] Compilation Error When Importing Component #2

snowons opened this issue Jun 16, 2023 · 0 comments

Comments

@snowons
Copy link

snowons commented Jun 16, 2023

I'm encountering a compilation error while using your developed component. I've tried various solutions to fix the issue, but it still persists. Here are the specific details:
Failed to compile.

./node_modules/@j3lte/react-xml-view/build/index.esm.js 46:54
Module parse failed: Unexpected token (46:54)
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.
    | charIndexToByteIndex() {
    | let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.charIndex;
return this.multiByteMode ? this.charsToBytes[e] ?? 1 / 0 : e;

| }
|

React Version:16.13.1

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

1 participant