GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — `vp run -r lint` fails on Windows in monorepos: OXLINT_TSGOLINT_PATH is set to a root-relative path resolved from the wrong cwd · Issue #1747 · voidzero-dev/vite-plus DescriptionDescribe the bugOn Windows, running The Root causeIn if (!oxlintTsgolintPath) throw new Error("Unable to resolve oxlint-tsgolint executable, ..."); const relativePath = relative(process.cwd(), oxlintTsgolintPath); oxlintTsgolintPath = /^[a-zA-Z]:/.test(relativePath) ? relativePath : `.\\${relativePath}`;
(For confirmation: the error string itself is emitted by the Suggested fixKeep the resolved absolute path instead of converting it to a launcher-relative path: if (!oxlintTsgolintPath) throw new Error("Unable to resolve oxlint-tsgolint executable, ..."); // keep the absolute path: oxlint may be spawned with a different cwd (e.g. the workspace // package dir under `vp run -r`), where a root-relative path would not resolve. i.e. drop the two WorkaroundA local Steps to reproduce
Only triggers on System Info
Validations
Activity
MetadataMetadataAssigneesLabelsTypeFieldsPriority None yet Effort None yet Target date None yet Start date None yet ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |