app
app copied to clipboard
Can't install app with cron jobs but without cache
In case when I choose
Do you want to use Cache component? [1] Yes [0] No Make your selection (default: 0):
and
Do you need a cron jobs scheduler? [1] Yes [0] No Make your selection (default: 0): 1
I've got an error:
> php app.php encrypt:key -m .env
[Spiral\Core\Exception\Container\NotFoundException]
Can't resolve `Spiral\Scheduler\JobsLocatorInterface`: undefined class or binding `Spiral\Cache\CacheStorageProviderInterface`.
Container trace list:
- action: 'resolve from binding'
alias: 'Spiral\Scheduler\JobsLocatorInterface'
scope: 'root'
context: Parameter #0 [ <required> Spiral\Scheduler\JobsLocatorInterface $locator ]
binding: Alias to `Spiral\Scheduler\JobsLocator`
- action: 'resolve from binding'
alias: 'Spiral\Scheduler\JobsLocator'
scope: 'root'
context: Parameter #0 [ <required> Spiral\Scheduler\JobsLocatorInterface $locator ]
binding: Deferred factory 'Spiral\Scheduler\Bootloader\SchedulerBootloader'->initJobsLocator()
- action: 'resolve from binding'
alias: 'Spiral\Scheduler\Mutex\JobMutexInterface'
scope: 'root'
context: Parameter #1 [ <required> Spiral\Scheduler\Mutex\JobMutexInterface $mutex ]
binding: Deferred factory 'Spiral\Scheduler\Bootloader\SchedulerBootloader'->initEventMutex()
- action: 'autowire'
alias: 'Spiral\Cache\CacheStorageProviderInterface'
context: Parameter #0 [ <required> Spiral\Cache\CacheStorageProviderInterface $provider ]
in vendor/spiral/framework/src/Core/src/Internal/Factory.php:359
Script php app.php encrypt:key -m .env handling the post-create-project-cmd event returned with error code 255