Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cant even install the bundle. #62

Open
didslm opened this issue Jun 11, 2021 · 0 comments
Open

I cant even install the bundle. #62

didslm opened this issue Jun 11, 2021 · 0 comments

Comments

@didslm
Copy link

didslm commented Jun 11, 2021

Im using php 7.4
Symfony 4.4.*

framework.yaml

framework:
  secret: '%env(APP_SECRET)%'

When i run composer require
composer require ambta/doctrine-encrypt-bundle

Using version ^2.5 for ambta/doctrine-encrypt-bundle
./composer.json has been updated
Running composer update ambta/doctrine-encrypt-bundle
> pre-update-cmd: Symfony\Flex\Flex_composer_tmp1->configureInstaller
Loading composer repositories with package information
> pre-pool-create: Symfony\Flex\Flex_composer_tmp1->truncatePackages
Updating dependencies
Dependency resolution completed in 0.001 seconds
Analyzed 259 packages to resolve dependencies
Analyzed 649 rules to resolve dependencies
Dependency resolution completed in 0.001 seconds
Lock file operations: 1 install, 0 updates, 0 removals
Installs: ambta/doctrine-encrypt-bundle:2.5.6
  - Locking ambta/doctrine-encrypt-bundle (2.5.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
> post-autoload-dump: PackageVersions\Installer_composer_tmp0->dumpVersionsClass
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
> post-autoload-dump: Symfony\Flex\Flex_composer_tmp1->updateAutoloadFile
98 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> post-update-cmd: Symfony\Flex\Flex_composer_tmp1->update

Run composer recipes at any time to see the status of your Symfony recipes.

> post-update-cmd: @auto-scripts
> auto-scripts: Symfony\Flex\Flex_composer_tmp1->executeAutoScripts
Executing script cache:clear
Executed script cache:clear  [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In DoctrineEncryptExtension.php line 46:
!!
!!    You must provide "secret_key" for DoctrineEncryptBundle or "secret" for fra
!!    mework
!!
!!
!!
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
@didslm didslm changed the title I cant even install the bundle? I cant even install the bundle. Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant