Skip to content

Upgrade/Installation Failure: Permission flags can only be used in a global setting #112

@e-kwsm

Description

@e-kwsm
$ deno --version
deno 2.1.2 (stable, release, x86_64-unknown-linux-gnu)
v8 13.0.245.12-rusty
typescript 5.6.2
$ udd --version
0.8.2
$ udd --upgrade
https://deno.land/x/udd@0.8.2/main.ts
error: Uncaught (in promise) Error: error: the following required arguments were not provided:
  --global

Note: Permission flags can only be used in a global setting


    throw new Error(error);
          ^
    at spawn (https://deno.land/x/udd@0.8.2/main.ts:75:11)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async upgrade (https://deno.land/x/udd@0.8.2/main.ts:86:3)
    at async main (https://deno.land/x/udd@0.8.2/main.ts:98:12)
    at async https://deno.land/x/udd@0.8.2/main.ts:180:3

Also, https://github.com/hayd/deno-udd/blob/09f9994e2588a0744b8983f91122932b494eb176/README.md#installation

$ deno install -rf --allow-read=. --allow-write=. --allow-net https://deno.land/x/udd/main.ts
error: the following required arguments were not provided:
  --global

Note: Permission flags can only be used in a global setting

Here --global is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions