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

/lib64/libc.so.6: version `GLIBC_2.18' not found #8276

Open
Sunny-117 opened this issue Jan 6, 2025 · 1 comment
Open

/lib64/libc.so.6: version `GLIBC_2.18' not found #8276

Sunny-117 opened this issue Jan 6, 2025 · 1 comment
Labels
A-linter Area - Linter C-bug Category - Bug

Comments

@Sunny-117
Copy link

Sunny-117 commented Jan 6, 2025

What version of Oxlint are you using?

No response

What command did you run?

No response

What does your .oxlint.json config file look like?

{
    "$schema": "./node_modules/oxlint/configuration_schema.json",
    "settings": {},
    "overrides": [
        {
            "files": ["packages/*/src/**/*"],
            "rules": {
                "no-undef": "error"
            }
        }
    ],
    "env": {
        "browser": true,
        "node": true,
        "jest": true
    }
}

What happened?

DECK_STD_CENTOS7

exec('./node_modules/.bin/oxlint -c oxlintrc.json --quiet --format json')

SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at (/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/fc-fe/fe-fengchao/scripts/checkLint.ts:7:28)
at ChildProcess.exithandler (node:child_process:427:5)
at ChildProcess.emit (node:events:511:28)
at maybeClose (node:internal/child_process:1098:16)
at Socket. (node:internal/child_process:456:11)
at Socket.emit (node:events:511:28)
at Pipe. (node:net:334:12)

/root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/fc-fe/fe-fengchao/node_modules/.pnpm/@[email protected]/node_modules/@oxlint/linux-x64-gnu/oxlint: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /root/ONLINE_SERVICE/other/ferry/task_workspace/baidu/fc-fe/fe-fengchao/node_modules/.pnpm/@[email protected]/node_modules/@oxlint/linux-x64-gnu/oxlint)

[ERROR]: checkLint script runtime error: SyntaxError: Unexpected end of JSON input info
 ELIFECYCLE  Command failed with exit code 1.

@Sunny-117 Sunny-117 added A-linter Area - Linter C-bug Category - Bug labels Jan 6, 2025
@Sunny-117
Copy link
Author

Sunny-117 commented Jan 6, 2025

related issue and pr in swc

swc-project/swc#3314
swc-project/swc#3198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter C-bug Category - Bug
Projects
None yet
Development

No branches or pull requests

1 participant