Skip to content

Error: Please set DISCOVERY_AUTH_TYPE in your environment #565

@LilianDK

Description

@LilianDK

Description

DISCOVERY_AUTH_TYPE is set =iam in ibm-credentials.env file
After running "yarn workspace discovery-search-app run server" receiving message "Error: Please set DISCOVERY_AUTH_TYPE in your environment"
Also manually set in environment (Windows), rebuild, but same error

What package(s) (including version) are you using?

discovery-components latest
yarn 4.0.2
nvm 20.12.0
npm 10.5.0

Steps to reproduce the issue

  1. Have a Windows
  2. Follow all described instructions of the how-to until meeting error message (see description)

Additional information

  • Please add screenshots or other visual aids to represent the issue as applicable.
    Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions