Closed backpack-operations closed 1 month ago
During the update process, I received the following error message:
Failed to download backpack/pro from dist: The "https://backpackforlaravel.com/satis/download/dist/backpack/pro/backpack-pro-163925fdd2ad734d8dc24776ac1a136e2172c65c-zip-f6353e.zip" file could not be downloaded (HTTP/2 402 )
....
Failed to execute git clone --mirror -- https://ghp...6y2:x-oauth-basic@github.com/Laravel-Backpack/PRO.git C:/Users/Administrator/AppData/Local/Composer/vcs/git-github.com-Laravel-Backpack-PRO.git/
Cloning into bare repository 'C:/Users/Administrator/AppData/Local/Composer/vcs/git-github.com-Laravel-Backpack-PRO.git'...
remote: Repository not found.
fatal: repository 'https://github.com/Laravel-Backpack/PRO.git/' not found
It appears that the repository could not be found at the specified URL. I have ensured that my credentials and access permissions are correct.
I followed the upgrade guide provided at Upgrade Guide and added the
composer config http-basic.backpackforlaravel.com 92881900 XXXXXXXXX
As result I have auth.json
in the root folder.
Our license is registered under the email address development@appfront.cloud.
Hello @kalex375
Make sure the repository is correctly defined in your composer.json
, it seems to be, but doesn't hurt to double check.
"repositories": [
{
"type": "composer",
"url": "https://repo.backpackforlaravel.com/"
}
],
402 usually means that you are trying to install a Backpack/Pro version that you don't have access to.
Go to https://backpackforlaravel.com/user/tokens and check for backpack/pro
package, (if it's the screenshot it's 1.2.7), and confirm that version.
In your composer.json you can just require versions up to that one, so you need to lock your composer.json in eg: backpack/pro:^1.0
You need at least access to PRO ^2.0 to use it with v6 of Backpack, 1.2.7 is almost 2 years old and it does not support Backpack v6.
Let me know if I can help you with something else.
Cheers
It works. Thanks for your help.
Hello Team, I just received this on email, "![image](https://github.com/Laravel-Backpack/community-forum/assets/144793034/e9d6e9d6-ea32-4599-ac4f-24d52c2fc1ad)
Why I don't have access to pro repo "repositories": [ { "type": "composer", "url": "https://repo.backpackforlaravel.com/" } ],
"