You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Describe the bug
I run
denon start
and I got this error:To Reproduce Steps to reproduce the behavior:
scripts.config.ts
:Expected behavior
The server should be executed successfully.
Setup
The text was updated successfully, but these errors were encountered: