thecatontheflat / atlassian-connect-bundle

Symfony Bundle for Atlassian Connect platform
MIT License
36 stars 19 forks source link

Error installing the bundle on Symfony 4.2 with Flex #40

Closed jorgesb closed 3 years ago

jorgesb commented 5 years ago

Hi @thecatontheflat, I've installed this bundle on Symfony 4.2 with flex by composer. It throws the following error: [KO] Script cache:clear returned with error code 1 !!
!! In AtlassianConnectExtension.php line 26: !!
!! Notice: Undefined index: prod

image

I guess I should change the configuration, but it looks weird that just installing it throws an error.

Is it prepared to work with Symfony 4.2 with Flex?

Thanks in advance!

Bukashk0zzz commented 5 years ago

Hi,

Before install composer dependency you need to create config from step 3:

https://github.com/thecatontheflat/atlassian-connect-bundle#step-3-bundle-configuration

jorgesb commented 5 years ago

Hi @Bukashk0zzz ,

thanks for your answer. There isn't a config.yml file on Symfony 4. Where is the proper place to add that config then?

Beside that, I would change the steps order on the readme file to avoid that error.

Bukashk0zzz commented 5 years ago

Create file config/packages/atlassian_connect_bundle.yaml and put there config from step 3.

In readme we have only description how to install bundle without Symfony flex.

jorgesb commented 5 years ago

Ok understood.

Thanks!

Matth-- commented 3 years ago

I assume this ticket is resolved due to it's age.