czemu / nova-calendar-tool

A Laravel Nova tool to display a calendar with event management.
MIT License
31 stars 29 forks source link

Laravel 8 incompatibility #13

Closed scramatte closed 3 years ago

scramatte commented 3 years ago

Hi,

I'm unable to install it with laravel 8. Can you fix it ?

  Problem 1
    - czemu/nova-calendar-tool[1.3.0, ..., 1.3.1] require spatie/laravel-google-calendar ^3.1.0 -> satisfiable by spatie/laravel-google-calendar[3.1.0, ..., v3.x-dev].
    - spatie/laravel-google-calendar[3.2.1, ..., 3.4.0] require google/apiclient ^2.2 -> satisfiable by google/apiclient[v2.2.0, ..., 2.x-dev (alias of dev-master)].
    - google/apiclient 2.x-dev is an alias of google/apiclient dev-master and thus requires it to be installed too.
    - google/apiclient[dev-master, v2.9.0, ..., v2.11.0] require google/auth ^1.10 -> satisfiable by google/auth[v1.10.0, ..., v1.18.0].
    - google/auth[v1.10.0, ..., v1.15.2] require psr/cache ^1.0 -> found psr/cache[1.0.0, 1.0.1] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - google/auth[v1.16.0, ..., v1.18.0] require psr/cache ^1.0|^2.0 -> found psr/cache[1.0.0, 1.0.1, 2.0.0] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - google/apiclient[v2.2.0, ..., v2.2.4] require monolog/monolog ^1.17 -> found monolog/monolog[1.17.0, ..., 1.x-dev] but the package is fixed to 2.3.5 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - google/apiclient[v2.3.0, ..., v2.8.3] require phpseclib/phpseclib ~0.3.10||~2.0 -> found phpseclib/phpseclib[0.3.10, 2.0.0, ..., 2.0.x-dev] but the package is fixed to 3.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - spatie/laravel-google-calendar v3.x-dev requires php ^7.0 -> your php version (8.0.10) does not satisfy that requirement.
    - spatie/laravel-google-calendar[3.1.0, ..., 3.2.0] require php ^7.2 -> your php version (8.0.10) does not satisfy that requirement.
    - Root composer.json requires czemu/nova-calendar-tool ^1.3 -> satisfiable by czemu/nova-calendar-tool[1.3.0, 1.3.1].
czemu commented 3 years ago

Hi,

I have no problem installing this with Laravel 8:

# composer require czemu/nova-calendar-tool
Using version ^1.3 for czemu/nova-calendar-tool
./composer.json has been updated
Running composer update czemu/nova-calendar-tool
Loading composer repositories with package information
Updating dependencies
Lock file operations: 7 installs, 0 updates, 0 removals
  - Locking czemu/nova-calendar-tool (1.3.1)
  - Locking firebase/php-jwt (v5.4.0)
  - Locking google/apiclient (v2.11.0)
  - Locking google/apiclient-services (v0.217.0)
  - Locking google/auth (v1.18.0)
  - Locking psr/cache (2.0.0)
  - Locking spatie/laravel-google-calendar (3.4.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 7 installs, 0 updates, 0 removals
  - Installing psr/cache (2.0.0): Extracting archive
  - Installing firebase/php-jwt (v5.4.0): Extracting archive
  - Installing google/auth (v1.18.0): Extracting archive
  - Installing google/apiclient-services (v0.217.0): Extracting archive
  - Installing google/apiclient (v2.11.0): Extracting archive
  - Installing spatie/laravel-google-calendar (3.4.0): Extracting archive
  - Installing czemu/nova-calendar-tool (1.3.1): Extracting archive
2 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: czemu/nova-calendar-tool
Discovered Package: facade/ignition
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/nova
Discovered Package: laravel/sail
Discovered Package: laravel/sanctum
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: spatie/laravel-google-calendar
Package manifest generated successfully.
86 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi
No publishable resources for tag [laravel-assets].
Publishing complete.
# php -v
PHP 8.0.7 (cli) (built: Jun  2 2021 00:41:03) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.7, Copyright (c) Zend Technologies
# php artisan --version
Laravel Framework 8.67.0

Nova version: 3.27.0

Try to use higher version of spatie/laravel-google-calendar package (3.4.0) or downgrade your PHP version as your log says:

    - spatie/laravel-google-calendar v3.x-dev requires php ^7.0 -> your php version (8.0.10) does not satisfy that requirement.
    - spatie/laravel-google-calendar[3.1.0, ..., 3.2.0] require php ^7.2 -> your php version (8.0.10) does not satisfy that requirement.
scramatte commented 3 years ago

I've been able to install it, but when I try to add event , I've got error "Something went wrong". Any Idea? If I add an event by hand directly into the table it doesn't display.