-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
- Install deno v1.16.4
- Add the file
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;
- Start the server using denon start
Expected behavior
The server should be executed successfully.
Setup
- OS: macOs
- Deno version: 1.16.4
- Denon version: 2.5.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working