Hi I've been learning symfony, and every time I use the "php bin/console generate:bundle" command to create a bundle, even though I leave everything by default, I keep getting this error:
The command was not able to configure everything automatically. You'll need to make the following changes manually. Edit the composer.json file and register the bundle namespace in the "autoload" section:
I saw here in stackoverflow that this problem shows up when you try to put the bundle in a file different than src, but that's not the case, as I told you I leave everything by default; I mean I just enter the bundle name and then keep pressing enter until the proccess ends. Can anyone tell me what am I doing wrong? what's the cause? Thanks