Skip to content

Failed to install (or upgrade) pbkit #3

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

Closed
AiOO opened this issue Jan 6, 2025 · 0 comments · Fixed by #4
Closed

Failed to install (or upgrade) pbkit #3

AiOO opened this issue Jan 6, 2025 · 0 comments · Fixed by #4
Labels
bug Something isn't working

Comments

@AiOO
Copy link

AiOO commented Jan 6, 2025

Background

System

OS

macOS Sequoia 15.2

Packages

$ brew --version
Homebrew 4.4.14
$ deno --version
deno 2.1.4 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2

Installation log

$ brew upgrade

...

==> Upgrading pbkit/tap/pbkit
  0.0.70 -> 0.0.72
==> mv ./* /opt/homebrew/Cellar/pbkit/0.0.72/libexec/
==> deno install --root /opt/homebrew/Cellar/pbkit/0.0.72/libexec -n pb -A --no-
Last 15 lines from /Users/ahnkiwook/Library/Logs/Homebrew/pbkit/02.deno:
install
--root
/opt/homebrew/Cellar/pbkit/0.0.72/libexec
-n
pb
-A
--no-check
--unstable
/opt/homebrew/Cellar/pbkit/0.0.72/libexec/cli/pb/entrypoint.ts

error: the following required arguments were not provided:
  --global

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


If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/pbkit/homebrew-tap/issues


...

Description

When I try to install pbkit via Homebrew, I get the error described above.
Since Deno 2.0.0, permission flags require a global flag to be enabled, and I suspect this is the reason.

Ref: denoland/deno#25391

@disjukr disjukr added the bug Something isn't working label Jan 6, 2025
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

Successfully merging a pull request may close this issue.

2 participants