homebrew-tap icon indicating copy to clipboard operation
homebrew-tap copied to clipboard

Error: [email protected]: Failed to download resource "psr@74"

Open hknguyenvu opened this issue 2 years ago • 6 comments

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: [email protected]: 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 avatar Mar 16 '22 15:03 hknguyenvu

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

JeffAbney avatar Apr 18 '22 21:04 JeffAbney

No, I have to use phpbrew instead

hknguyenvu avatar Apr 19 '22 03:04 hknguyenvu

I found a solution, you have to change /usr/local/Homebrew/Library/Taps/phalcon/homebrew-extension/Formula/[email protected] 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.

dvamuch avatar May 04 '22 15:05 dvamuch

@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"

ekpono avatar May 31 '22 11:05 ekpono

Thank you @dvamuch this solution is still working

febrianmosii avatar Aug 01 '22 04:08 febrianmosii

Worked for me

JSBtechnologies avatar Aug 05 '22 21:08 JSBtechnologies