Joshua | Rem-Chan
Joshua | Rem-Chan
DDeno
Created by Joshua | Rem-Chan on 10/28/2023 in #help
error: Uncaught Error: Input watch path is neither a file nor a directory.
Im encountering a weird error when I run a code in Windows that was initially created in a OSX. It still runs fine in OSX, but in windows its shows the following error (synced through github):
error: Uncaught Error: Input watch path is neither a file nor a directory.
at new FsWatcher (ext:runtime/40_fs_events.js:17:21)
at Object.watchFs (ext:runtime/40_fs_events.js:60:10)
at ext:deno_node/_fs/_fs_watch.ts:58:21
at Object.action (ext:deno_web/02_timers.js:151:11)
at handleTimerMacrotask (ext:deno_web/02_timers.js:65:10)
at eventLoopTick (ext:core/01_core.js:189:21)
error: Uncaught Error: Input watch path is neither a file nor a directory.
at new FsWatcher (ext:runtime/40_fs_events.js:17:21)
at Object.watchFs (ext:runtime/40_fs_events.js:60:10)
at ext:deno_node/_fs/_fs_watch.ts:58:21
at Object.action (ext:deno_web/02_timers.js:151:11)
at handleTimerMacrotask (ext:deno_web/02_timers.js:65:10)
at eventLoopTick (ext:core/01_core.js:189:21)
I'm not able to diagonise the error, google has nothing about it and I dont use the watch functionality. The run command was:
deno run --allow-read --allow-env --allow-net --allow-sys index.ts
deno run --allow-read --allow-env --allow-net --allow-sys index.ts
11 replies
DDeno
Created by Joshua | Rem-Chan on 7/13/2023 in #help
Caching old versions
2 replies
DDeno
Created by Joshua | Rem-Chan on 7/3/2023 in #help
Passing initial data to Worker
Detault Worker doesnt seem to support WorkerData as params. Although using node:worker_threads doesnt work well in ts as it does not allow import statements outside a module
1 replies
DDeno
Created by Joshua | Rem-Chan on 7/3/2023 in #help
Adding npm specifiers to deno.json
6 replies