Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

gofigure fails to start when NODE_ENV isn't set #11

Open
@tim-kretschmer-c2fo

Description

@tim-kretschmer-c2fo

Ran into the following problem with Ubuntu + IntelliJ IDEA.

Repro
  1. Set NODE_ENV in bash profile
  2. Verify that the value is set from terminal
  3. Launch IDEA
  4. Launch a Run configuration from within the IDE
Expect

Either the targeted script runs, or gofigure reports that NODE_ENV isn't set.

Actual

Errors are listed in the console that the first config property being accessed is undefined.

This specifically happened with IDEA since it doesn't create a user's session in bash, which leaves out variables set in the user's profile.

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