Closed mertasan closed 3 years ago
Could you get a trace? It happens on FormHelper.php:97
because config is probably null, but why? FormBuilderServiceProvider::register()
registers the config file, so it should always be an array, even without publishing/copying it to your own config dir. It seems like ide-helper is too fast? Or Laravel doesn't do a register()
for unknown packages, but ide-helper still tries to. Dunno.
I think form builder does what it's supposed to. Ide-helper is too eager, or Laravel too lazy. You'll have to debug it. A trace would help. Maybe you don't have to keep uninstalling and installing the package. ide-helper:generate
without FormBuilderServiceProvider
listed might be enough.
It was working smoothly. After installing I ran the ide-helper commands manually and they worked without any problems. It can be as you said. I cannot catch any other error / trace other than the console error I added to my previous post.
It was working smoothly. After installing I ran the ide-helper commands manually and they worked without any problems.
I expected that. But it should have worked with the ide commands in composer.json
too. I've never seen it, so I wouldn't know how to start finding and fixing the problem. If you're willing, please do. If it's this package's fault, we'd love to know.
I'm getting an error installing with Composer
Laravel version: 8.x
composer.json
Edit: I solved it like this.
reference