Skip to content

Runs "start" command instead of what I provide #11

Open

Description

@wkaskie

I have a package.json set up with a "server" script. Running nodenv server triggers start instead of server/index.js.

The setup is the generic create-react-app folder. A subfolder added named server with an index.js file inside. The index.js is generic test Express app. Package.json has only been modified to include the script to run nodenv.

Activity

  1. dkundel commented on Jul 30, 2020

    @dkundel
    Owner

    Can you try calling explicitly nodenv server/index.js or alternatively set your "main" entry in the package.json to server/index.js?

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

Metadata

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