Skip to content

x test says eslint is missing but it isn't #144093

@saethlin

Description

@saethlin

Summary

x test reports

fmt check
fmt info: No modified files detected for formatting.
tidy check
Checking tidy rustdoc_json...
`eslint` doesn't seem to be installed. Skipping tidy check for JS files.
You can install it using `npm install [email protected]`
`rustdoc-json-types` was not modified.
No error code explanation was removed!
x.py completions check

But I definitely have eslint installed:

╭ ➜ ben@archlinux:~/rust
╰ ➤ eslint -v
v9.31.0

The problem is that bootstrap is trying to detect the eslint version reported by npm list but I do not have NPM installed.

Bootstrap configuration (bootstrap.toml)

profile = "compiler"
change-id = 999999

[llvm]
assertions = true
download-ci-llvm = true
#targets = "X86"

[rust]
download-rustc = false
deny-warnings = false
new-symbol-mangling = false
codegen-units-std = 1
debug-assertions = false
debug-logging = false
debuginfo-level = "line-tables-only"
debuginfo-level-std = 2
incremental = false
frame-pointers = true
jemalloc = true

[build]
submodules = true
#sanitizers = true

Operating system

Linux archlinux 6.15.6-arch1-1

HEAD

9cd918bcbbc26deb005eb4e1bd9a445380195e56

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions