Skip to content

bug: unable to detect my google env key during build #1946

@shashwat-runable

Description

@shashwat-runable

What's happening?

lingoCompilerPlugin({
      sourceRoot: "src",
      sourceLocale: "en",
      targetLocales: ["es", "de", "fr"],
       models: {
          "*:*": "google:gemini-2.0-flash",
      },
      dev: {
        usePseudotranslator: false,
      },
    }),

This is my config and the compiler is unable to recognize my google api key even though its there in my env as well as exported it from the terminal

Exact Reproduction Steps

  1. Use the above config
  2. Setup the google api key

Expected

Should have detected the key.

Actual

Unable to recognize my google key.

Screenshots/Videos

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions