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

Composer seems to use vendor config #10

Closed
nxmndr opened this issue Apr 30, 2024 · 0 comments · Fixed by #11
Closed

Composer seems to use vendor config #10

nxmndr opened this issue Apr 30, 2024 · 0 comments · Fixed by #11

Comments

@nxmndr
Copy link

nxmndr commented Apr 30, 2024

Hello. I only use Calendar and after adapting the config & composer.json files, running composer dumpautoload gives me :

> Google\Task\Composer::cleanup
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Error 

  Class "Google\Service\Gmail" not found

  at vendor/tomshaw/google-api/config/config.php:54
     50▕      * Scopes to be requested as part of the OAuth2.0 flow.
     51▕      */
     52▕     'service_scopes' => [
     53▕         Google\Service\Calendar::CALENDAR,
  ➜  54▕         Google\Service\Gmail::GMAIL_SEND,
     55▕         Google\Service\Books::BOOKS,
     56▕         Google\Service\Drive::DRIVE,
     57▕     ],
     58▕ ];

      +9 vendor frames 

  10  artisan:35
      Illuminate\Foundation\Console\Kernel::handle()

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Cleanup seems to work though and I only have Calendar files.

Regards

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

Successfully merging a pull request may close this issue.

1 participant