Skip to content

Does not work on windows #25

Description

@mrginglymus
import {format} from './dist/index.js';

await format(['LICENSE'])

Run pnpm node check.ts

node:internal/child_process:287
      const err = new ErrnoException(exitCode, syscall);
                  ^

Error: spawn pnpm ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:287:19)
    at onErrorNT (node:internal/child_process:508:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn pnpm',
  path: 'pnpm',
  spawnargs: [ 'exec', 'oxfmt', '--write', 'LICENSE' ]
}

I tried to run tests, fs-fixture doesn't work on windows either

Looks like fs-fixture can't handle copying the symlinks in the node_modules dir of each fixture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions