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

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

Open
e-kwsm opened this issue Dec 4, 2024 · 0 comments · May be fixed by #114
Open

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

e-kwsm opened this issue Dec 4, 2024 · 0 comments · May be fixed by #114

Comments

@e-kwsm
Copy link

e-kwsm commented Dec 4, 2024

$ 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/[email protected]/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/[email protected]/main.ts:75:11)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async upgrade (https://deno.land/x/[email protected]/main.ts:86:3)
    at async main (https://deno.land/x/[email protected]/main.ts:98:12)
    at async https://deno.land/x/[email protected]/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.

e-kwsm added a commit to e-kwsm/deno-udd that referenced this issue Dec 4, 2024
@e-kwsm e-kwsm linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant