native-engine-unavailableA native engine that is missing, cannot load, or predates this compiler.
code is this id.Formerly CSSZYX_NATIVE_UNAVAILABLE (until 0.18.0).
A name in angle brackets is a value the message fills in.
no-platform-package[csszyx] native-engine-unavailable: No prebuilt native engine covers `<platform>`, so the `rust` parser cannot run.
help: set the parser to `wasm` (`build.parser: 'wasm'` in the plugin options, `parserMode: 'wasm'` in `csszyxTurbopack`, or `--parser-mode wasm` on `csszyx next`); the wasm engine ships inside `@csszyx/core`.
note: the wasm engine produces the same output; only parsing is slower.
docs: https://csszyx.com/e/native-engine-unavailable
not-installed[csszyx] native-engine-unavailable: `<packageName>` is not installed, so the `rust` parser cannot run.
help: reinstall without skipping optional dependencies, which installs `<packageName>` with `@csszyx/core`, or set the parser to `wasm` (`build.parser: 'wasm'` in the plugin options, `parserMode: 'wasm'` in `csszyxTurbopack`, or `--parser-mode wasm` on `csszyx next`).
note: the wasm engine produces the same output; only parsing is slower.
docs: https://csszyx.com/e/native-engine-unavailable
missing-export[csszyx] native-engine-unavailable: `<packageName>` does not export `<exportName>()`, which the installed `@csszyx/core` calls, so the `rust` parser cannot run.
help: update `@csszyx/core` and `<packageName>` together, to the same version, or set the parser to `wasm` (`build.parser: 'wasm'` in the plugin options, `parserMode: 'wasm'` in `csszyxTurbopack`, or `--parser-mode wasm` on `csszyx next`).
note: the wasm engine produces the same output; only parsing is slower.
docs: https://csszyx.com/e/native-engine-unavailable
stale-binding[csszyx] native-engine-unavailable: `<packageName>` returns results the installed `@csszyx/core` cannot read, so the `rust` parser cannot run.
help: update `@csszyx/core` and `<packageName>` together, to the same version, or set the parser to `wasm` (`build.parser: 'wasm'` in the plugin options, `parserMode: 'wasm'` in `csszyxTurbopack`, or `--parser-mode wasm` on `csszyx next`).
note: the wasm engine produces the same output; only parsing is slower.
docs: https://csszyx.com/e/native-engine-unavailable
stale-binding-versions[csszyx] native-engine-unavailable: `<packageName>` <nativeVersion> returns results the installed `@csszyx/core` <coreVersion> cannot read, so the `rust` parser cannot run.
help: update `@csszyx/core` and `<packageName>` together, to the same version, or set the parser to `wasm` (`build.parser: 'wasm'` in the plugin options, `parserMode: 'wasm'` in `csszyxTurbopack`, or `--parser-mode wasm` on `csszyx next`).
note: the wasm engine produces the same output; only parsing is slower.
docs: https://csszyx.com/e/native-engine-unavailable
wasm-fallback[csszyx] native-engine-unavailable: The native engine is not available here, so the default `rust` parser runs on the wasm engine.
help: reinstall without skipping optional dependencies to get the native engine, or set `build.parser: 'wasm'` to hide this line.
note: the wasm engine produces the same output; only parsing is slower.
docs: https://csszyx.com/e/native-engine-unavailable
The values this diagnostic names.
| Name | Type | |
|---|---|---|
form | 'no-platform-package' | 'not-installed' | 'missing-export' | 'stale-binding' | 'stale-binding-versions' | 'wasm-fallback' | |
platform | string | optional |
packageName | string | optional |
exportName | string | optional |
nativeVersion | string | optional |
coreVersion | string | optional |