Google Secrets dependency

Created on 22 March 2024, 9 months ago

Problem/Motivation

Error upon attempting to install:
The service "google_calendar.google_client.factory" has a dependency on a non-existent service "google_secrets.google_client.factory". Did you mean this: "google_calendar.google_client.store"?

It seems like there is a move to `google_client` from `google_secret`, but not all code appears to be referencing the new module, and `google_secrets` does not seem to be a requirement/dependency in v 3.0.3.

Steps to reproduce

  • Use composer to add module
  • Enable module via drush
  • See above error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Dan_Rogers Driggs, ID

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Dan_Rogers
  • πŸ‡¨πŸ‡¦Canada adamhemeon

    I also had this issue running drush en google_calendar

    In CheckExceptionOnInvalidReferenceBehaviorPass.php line 119:
    The service "google_calendar.google_client.factory" has a dependency on a non-existent service "google_secrets.google_client.factory". Did you mean this: "google_calendar.google_client.store"?

  • πŸ‡ΊπŸ‡ΈUnited States robertmartin1961

    I am encountering the same issue on my local machine.

    The service "google_calendar.google_client.calendar" has a dependency on a non-existent service "google_calendar.google_client.factory". Did you mean one of these: "google_calendar.google_client.client", "google_calendar.google_clien
    t.store"?

  • First commit to issue fork.
  • πŸ‡·πŸ‡ΊRussia yuraosn Rostov-on-don

    I also had this issue running drush en google_calendar

  • πŸ‡·πŸ‡ΊRussia yuraosn Rostov-on-don

    I checked the code. It links to another module google_secrets β†’
    The module does not have info

    dependencies: google_secrets
    

    I installed the google_secrets module and the google_calendar module started working!

Production build 0.71.5 2024