Describe the bug
I'm working on both Windows 10 and MacOS machines.
Now running on Windows, I'm trying to setup denon script to call denopack
which is in my %HOME%\.deno\bin
and already included in %PATH%
but got error: Uncaught NotFound: The system cannot find the file specified. (os error 2)
To Reproduce
"scripts": {
"build": {
"cmd": "denopack -c denopack.config.ts",
"desc": "bundle my client.tsx file",
"watch": false
}
}
denopack
is installed in %PATH%where denopack
C:\Users\qua_o\.deno\bin\denopack.cmd
denopack --version
denopack/0.9.0 windows-x86_64 deno-1.3.3
denon build
Expected behavior
It should run denopack -c denopack.config.ts
Configuration or Project
If applicable, add your denon configuration file or project so we can accurately test our solution.
Screenshots
denon build
[*] [main] v2.4.0
[!] [#0] starting `denopack -c denopack.config.ts`
error: Uncaught NotFound: The system cannot find the file specified. (os error 2)
at unwrapResponse (rt\10_dispatch_json.js:24:13)
at sendSync (rt\10_dispatch_json.js:51:12)
at opRun (rt\40_process.js:20:12)
at Object.run (rt\40_process.js:104:17)
at Runner.execute (https://deno.land/x/[email protected]/src/runner.ts:169:17)
at Object.exe (https://deno.land/x/[email protected]/src/runner.ts:45:21)
at Daemon.start (https://deno.land/x/[email protected]/src/daemon.ts:62:29)
at Daemon.iterate (https://deno.land/x/[email protected]/src/daemon.ts:165:32)
at iterate.next (<anonymous>)
at https://deno.land/x/[email protected]/denon.ts:162:18
Setup
Additional context
It can't neither find and run denon itself in %PATH%
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too