[Bug] backpack pro installation error
See original GitHub issueBug report
What I did
composer require backpack/pro ??
What I expected to happen
it to install ??
What happened
when composer listed Generating optimized autoload files, I got this error:
In UrlGenerator.php line 120:
Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminate\Http\Request, null given, called in /var/www/dux/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php on
line 65
??
What I’ve already tried to fix it
??
Is it a bug in the latest version of Backpack?
yes
After I run composer update backpack/crud
the bug… is it still there?
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
I cant run thsi because it I keep getting the same error message.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[BUG]Problem with downloading with backpack/crud #3468
What happens is that when installing backpack / crud (4.1.30) it locks on the progress bar and does not download the package.
Read more >When installing Backpack PRO v5 I get a "failed to download ...
1) into cache Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos Head to https://github.
Read more >[critical] dpkg error while processing - can't install nor upgrade
It seems you have created a directory where a file is supposed to be. For support on your system, please use askubuntu, the...
Read more >2.6 Version installation failed - Error - Enscape Forum
Hi everyone, I am using the 2.5 version of Enscape wich is running good on my computer. When I try to launch the...
Read more >Visual Studio can't be updated or installed error code : 1714
I tried Updating visual studio 17, and I coulden't because of an error "The older version of vs_minshellmsi cannot be removed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @firecentaur
I am not sure the error is in Backpack code, but I think it migth be something on your side.
I just installed a fresh Laravel with Backpack CRUD+PRO and everything went smooth. From a quick search it migth happen if you use helpers in your config files, by any chance you have changed your configs recently or something ?
What leads to that error ? Can you post more from the stacktrace ?
Can’t you do
composer install backpack/pro
in other project ?Thanks
Glad you solved it. You can store the path string in config and use the asset() helper in your blade file.
Going to close, thanks 🙏