Describe the bug
I run denon start
and I got this error:
Uncaught (in promise) NotFound: No such file or directory (os error 2)
return Deno.run(options);
^
at Object.opSync (deno:core/01_core.js:142:12)
at opRun (deno:runtime/js/40_process.js:27:17)
at Object.run (deno:runtime/js/40_process.js:114:17)
at Runner.execute (https://raw.githubusercontent.com/denosaurs/denon/main/src/runner.ts:169:17)
at Object.exe (https://raw.githubusercontent.com/denosaurs/denon/main/src/runner.ts:45:21)
at Daemon.start (https://raw.githubusercontent.com/denosaurs/denon/main/src/daemon.ts:66:31)
at Daemon.iterate (https://raw.githubusercontent.com/denosaurs/denon/main/src/daemon.ts:169:32)
at iterate.next (<anonymous>)
at https://raw.githubusercontent.com/denosaurs/denon/main/denon.ts:167:20
To Reproduce Steps to reproduce the behavior:
scripts.config.ts
:export { config as env } from "https://deno.land/x/dotenv/mod.ts";
const config = {
scripts: {
// same as json configuration
start: {
cmd: "deno run --unstable server.ts",
tsconfig: "tsconfig.json",
allow: ["env", "read", "net"],
env: env({ safe: true }),
},
},
};
export default config;
Expected behavior
The server should be executed successfully.
Setup
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