Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and run errors on Deno v1.11.0 #64

Closed
disyam opened this issue Jun 9, 2021 · 3 comments
Closed

Install and run errors on Deno v1.11.0 #64

disyam opened this issue Jun 9, 2021 · 3 comments
Labels
🐞 bug Something isn't working

Comments

@disyam
Copy link

disyam commented Jun 9, 2021

deno version: 1.11.0
os: fedora 34

when i try to install with this command:
deno install -qAn vr https://deno.land/x/velociraptor@1.0.0/cli.ts

or run script with vr run [script-name], i got this error:

error: TS2339 [ERROR]: Property 'operator' does not exist on type 'never'.
    if (high!.operator === comp || high!.operator === ecomp) {
              ~~~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1744:15

TS2339 [ERROR]: Property 'operator' does not exist on type 'never'.
    if (high!.operator === comp || high!.operator === ecomp) {
                                         ~~~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1744:42

TS2339 [ERROR]: Property 'operator' does not exist on type 'never'.
      (!low!.operator || low!.operator === comp) &&
             ~~~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1751:14

TS2339 [ERROR]: Property 'operator' does not exist on type 'never'.
      (!low!.operator || low!.operator === comp) &&
                              ~~~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1751:31

TS2339 [ERROR]: Property 'semver' does not exist on type 'never'.
      ltefn(version, low!.semver)
                          ~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1752:27

TS2339 [ERROR]: Property 'operator' does not exist on type 'never'.
    } else if (low!.operator === ecomp && ltfn(version, low!.semver)) {
                    ~~~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1755:21

TS2339 [ERROR]: Property 'semver' does not exist on type 'never'.
    } else if (low!.operator === ecomp && ltfn(version, low!.semver)) {
                                                             ~~~~~~
    at https://deno.land/x/semver@v1.0.0/mod.ts:1755:62

Found 7 errors.
@dominikj111
Copy link

Same on macOS 11.3.1 Big Sur

@umbopepato umbopepato added the 🐞 bug Something isn't working label Jun 9, 2021
@umbopepato
Copy link
Member

Hey @disyam and @domino2, thanks for reporting this!
Both Velociraptor and Hatcher (used by vr) depend on this version of semver causing the errors. I've updated it here but we'll have to wait for them to do the same in order to release a new working version.

In the meantime, please install vr with the --no-check flag on Deno 1.11.0 to bypass those type checks:

$ deno install --no-check -qAn vr https://deno.land/x/velociraptor@1.0.0/cli.ts

@umbopepato umbopepato pinned this issue Jun 9, 2021
@umbopepato umbopepato changed the title install and run error on deno v1.11.0 Install and run errors on Deno v1.11.0 Jun 9, 2021
@umbopepato
Copy link
Member

This is now fixed in v1.0.1, run vr upgrade to upgrade (or see Installation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants