Failed to install with Deno 1.14.0
See original GitHub issueDescribe the bug Failed to install with Deno 1.14.0
To Reproduce
Steps to reproduce the behavior:
1. Install or update to deno v1.14.0
2. deno install -qAf --unstable https://deno.land/x/denon/denon.ts
3. I get the following error
error: TS2345 [ERROR]: Argument of type 'number' is not assignable to parameter of type 'string'.
p.kill(9);
^
at https://deno.land/x/denon@2.4.8/src/daemon.ts:92:16
TS2345 [ERROR]: Argument of type 'number' is not assignable to parameter of type 'string'.
p.kill(9);
^
at https://deno.land/x/denon@2.4.8/src/daemon.ts:96:16
TS2551 [ERROR]: Property 'Signal' does not exist on type 'typeof Deno'. 'Deno.Signal' is an unstable API. Did you forget to run with the '--unstable' flag, or did you mean 'signal'?
Deno.Signal.SIGHUP,
~~~~~~
at https://deno.land/x/denon@2.4.8/src/daemon.ts:150:14
'signal' is declared here.
export function signal(sig: Signal): SignalStream;
~~~~~~
at asset:///lib.deno.unstable.d.ts:651:19
TS2551 [ERROR]: Property 'Signal' does not exist on type 'typeof Deno'. 'Deno.Signal' is an unstable API. Did you forget to run with the '--unstable' flag, or did you mean 'signal'?
Deno.Signal.SIGINT,
~~~~~~
at https://deno.land/x/denon@2.4.8/src/daemon.ts:151:14
'signal' is declared here.
export function signal(sig: Signal): SignalStream;
~~~~~~
at asset:///lib.deno.unstable.d.ts:651:19
TS2551 [ERROR]: Property 'Signal' does not exist on type 'typeof Deno'. 'Deno.Signal' is an unstable API. Did you forget to run with the '--unstable' flag, or did you mean 'signal'?
Deno.Signal.SIGTERM,
~~~~~~
at https://deno.land/x/denon@2.4.8/src/daemon.ts:152:14
'signal' is declared here.
export function signal(sig: Signal): SignalStream;
~~~~~~
at asset:///lib.deno.unstable.d.ts:651:19
TS2551 [ERROR]: Property 'Signal' does not exist on type 'typeof Deno'. 'Deno.Signal' is an unstable API. Did you forget to run with the '--unstable' flag, or did you mean 'signal'?
Deno.Signal.SIGTSTP,
~~~~~~
at https://deno.land/x/denon@2.4.8/src/daemon.ts:153:14
'signal' is declared here.
export function signal(sig: Signal): SignalStream;
~~~~~~
at asset:///lib.deno.unstable.d.ts:651:19
Found 6 errors.
Setup
- OS: windows
- Deno version: 1.14.0
- Denon version: 2.4.8
Additional context This is probably due to the following pull request modified according to the v1.14.0 release. https://github.com/denoland/deno/pull/11909
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Deno 1.14 Release Notes
Deno 1.14 improves Web Crypto support, adds customization options ... If you already have Deno installed, you can upgrade to 1.14 by running....
Read more >Error installing Deno using `iwr` · Issue #191 - GitHub
When running PowerShell as administrator and executing iwr https://deno.land/x/install/install.ps1 -useb | iex the following error is ...
Read more >Installation | Manual - Deno
Installation. Deno works on macOS, Linux, and Windows. Deno is a single binary executable. It has no external dependencies. On macOS, both M1...
Read more >We really need an ARM build. : r/Deno - Reddit
You can just install Rust and install deno from cargo, I use this on every Arm computer I have (Wich are Rpi and...
Read more >An Introduction to Deno: Is It Better than Node.js?
You can install Deno in various ways, depending on your operating system. ... When the Deno CLI encounters a type error, it halts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed in the latest release
Same issue on MacOS 11.5.2 and Deno 1.14.0