question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to install with Deno 1.14.0

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
eliassjogreencommented, Sep 21, 2021

This should be fixed in the latest release

1reaction
ksmartycommented, Sep 18, 2021

Same issue on MacOS 11.5.2 and Deno 1.14.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found