Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'SIGHUP')
bushblade opened this issue · 1 comments
Describe the bug A clear and concise description of what the bug is.
I see
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'SIGHUP')
When running denon on single index.ts with just one line of code.
To Reproduce
Install denon
deno install -qAf --unstable https://deno.land/x/denon/denon.ts
Create a index.ts with
console.log('Hello from denon')
run denon
denon run index.ts
*Expected behavior
Denon runs without crashing and I see 'Hello from denon' logged to the terminal.
Configuration or Project
One index.ts file with a console.log in it.
Setup
- Denon version 2.2.0
- Deno version 1.22
- OS Manjaro Linux
Additional context
Running deno run index.ts
works as expected without error.
Ah it appears I was accidentally installing a cached version and not the latest version.
After trashing my deno cache and reinstalling it works as expected.