# X_RELATIVE_PATH_NOT_POSIX

## Means

a host `relative()` answer is used without `toPosix`

## Typical cause

on Windows `relative()` answers with `\`, which the result then writes into an import specifier, a fix line or a key — a `x fix` edit that breaks every Linux teammate

## Fix

wrap the call as `toPosix(relative(…))`, or use `posixRelative(…)` from `packages/cli/src/posix-path.ts`; a filesystem-only answer is marked `// native-path: <why>`. Then `bun run posix-relative`

[CLI and verify](/error-codes#cli-and-verify)
