cli icon indicating copy to clipboard operation
cli copied to clipboard

Type-checking with Bun

Open azizramdan opened this issue 1 year ago • 0 comments

I'm using bun without nodejs installed and running typecheck in CI pipeline using bunx nuxi typecheck. It throw error because it requires npx.

[error] Command failed with ERR_INVALID_ARG_TYPE: npx -p vue-tsc -p typescript vue-tsc --noEmit
Executable not found in $PATH: "npx"
  Executable not found in $PATH: "npx"
  at spawn (native)
  at spawn (node:child_process:723:8)
  at <anonymous> (node:child_process:2:21)
  at execa (node_modules/nuxi/dist/chunks/index3.mjs:2474:26)
  at <anonymous> (node_modules/nuxi/dist/chunks/typecheck.mjs:80:13)
  at processTicksAndRejections (:12:39) 
[error] Command failed with ERR_INVALID_ARG_TYPE: npx -p vue-tsc -p typescript vue-tsc --noEmit
Executable not found in $PATH: "npx"

azizramdan avatar Aug 23 '24 08:08 azizramdan