CLI
@pixelkit-labs/clidiagnoses why every hook is showing “—”, by running the checks a maintainer would run by hand.
A PixelKit hook that cannot read real hardware reports source: 'unavailable' and renders an em
dash. That is correct, and it is also what every hook does at once on the wrong device, without a
development build, or with the native packages missing. From inside the app those look identical.
pixelkit doctor tells them apart.
npx @pixelkit-labs/cli doctorOr as a dev dependency:
npm install --save-dev @pixelkit-labs/clinpx pixelkit doctorRun it from your app’s root: one of its checks resolves the PixelKit packages from the working directory, the way your app would.
It needs Node 18 or later and nothing else — no third-party dependencies, only Node’s own
child_process and util. It is published separately from the SDK and versions on its own.
In this section
Section titled “In this section”| Page | What it covers |
|---|---|
| pixelkit doctor | Usage, options, what the output means, exit codes, and using it in a script. |
| What doctor checks | The six checks, the command behind each, and what to do when one fails. |
Source: PixelKit-Labs/pixelkit-cli.