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

Error: phalcon@4.1.0: Failed to download resource "psr@74" #27

Open
hknguyenvu opened this issue Mar 16, 2022 · 6 comments
Open

Error: phalcon@4.1.0: Failed to download resource "psr@74" #27

hknguyenvu opened this issue Mar 16, 2022 · 6 comments

Comments

@hknguyenvu
Copy link

hknguyenvu commented Mar 16, 2022

Could you help me to take a look:

macOs Monterey 12.3

  brew install phalcon@4
  ==> Downloading https://ghcr.io/v2/homebrew/core/pcre/manifests/8.45
  Already downloaded: /Users/***/Library/Caches/Homebrew/downloads/4a3bba0e8d1899c13ac3442d2c49df6c1999948bdc0943f2f179693257d82545--pcre-8.45.bottle_manifest.json
  ==> Downloading https://ghcr.io/v2/homebrew/core/pcre/blobs/sha256:5e5cc7a5bf8bb6488ec57d4263bf6b0bc89e93252a0a2460f846de29373162
  Already downloaded: /Users/***/Library/Caches/Homebrew/downloads/756c82028fdee71519f4817ff7dce2d74ea7ad73f35585f5a577cf4513c0af3d--pcre--8.45.monterey.bottle.tar.gz
  ==> Downloading https://github.com/phalcon/homebrew-tap/releases/download/v4.0.x/psr%4074-1.0.0.sierra.bottle.tar.gz
  curl: (22) The requested URL returned error: 404
  
  Error: phalcon@4.1.0: Failed to download resource "psr@74"
  Download failed: https://github.com/phalcon/homebrew-tap/releases/download/v4.0.x/psr%4074-1.0.0.sierra.bottle.tar.gz
@hknguyenvu hknguyenvu changed the title phalcon@4.0.6: Failed to download resource "psr@74" Error: phalcon@4.1.0: Failed to download resource "psr@74" Mar 16, 2022
@JeffAbney
Copy link

I'm having the same issue. Have you found a solution?

@hknguyenvu
Copy link
Author

hknguyenvu commented Apr 19, 2022

No, I have to use phpbrew instead

@dvamuch
Copy link

dvamuch commented May 4, 2022

I found a solution, you have to change /usr/local/Homebrew/Library/Taps/phalcon/homebrew-extension/Formula/psr@74.rb
Change "1.0.0" to "0.7.0" in following string:
url "https://github.com/jbboehr/php-psr/archive/v1.0.0.tar.gz"
After that phalcon was installed successfully.

@ekpono
Copy link

ekpono commented May 31, 2022

@dvamuch solution worked for me

Change
url "https://github.com/jbboehr/php-psr/archive/v1.0.0.tar.gz"
To
url "https://github.com/jbboehr/php-psr/archive/v0.7.0.tar.gz"

@febrianmosii
Copy link

Thank you @dvamuch this solution is still working

@JSBtechnologies
Copy link

Worked for me

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

No branches or pull requests

6 participants