inxilpro / node-app-root-path

Determine the root path to your project
MIT License
604 stars 29 forks source link

Version 2.1.0 Broken #27

Closed simlu closed 5 years ago

simlu commented 6 years ago

No longer works correctly inside docker container (using amazon linux)

It now points to /var/task/ instead of correct folder (was /user/project/)

Let me know if you need help reproducing.

MacMcIrish commented 6 years ago

Seeing the same thing.

We're using lambci build container. So app root path now detects it incorrectly as a lambda function.

inxilpro commented 5 years ago

Can you re-open with steps to reproduce if 2.2.1 didn't solve this?

simlu commented 5 years ago

We fixed it by overwriting the env var. So this was solved