Skip to content

Error using PM2 with node-config when NODE_APP_INSTANCE === 0 #2045

@davidhq

Description

@davidhq

I had big problems using PM2 today with nginx (reverse proxy):

http://serverfault.com/questions/766280/nginx-proxy-pass-cannot-fetch-assets

This seems to be the issue:

node-config/node-config#244

and not just warning, I cannot run this app with pm2 at all... is there a way to make this seamlessly work? Does pm2 need a bugfix or it's just not compatible with config package? I tried creating the default-0.json with {} as described in that thread but it didn't help...

This was a hard one to discover that pm2 is at fault... forever and passenger work in this same case...

thank you

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions