Skip to content

It seems env-cmd not working with pm2 #315

@ujjavaljani

Description

@ujjavaljani

Hello,
I am using env-cmd in my typescript application.
for production I am creating node js build using tsc and after build when I tried to pass custom env file then it throws error like .env file could not found.

image

I am trying to run command npm run pm2:start:qa.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions