Skip to content

使用nestjs/config,class在启动时获取不到process.env,如何解决 #54

Open
@zhupengfeivip

Description

image

看图中红框中部分,一些其他的class文件,运行时并没有获取到环境变量,怎么回事呢?
出现undefined的就是未获取到变量。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions