Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with config on hosted version #218

Open
olafveerman opened this issue May 1, 2018 · 1 comment
Open

Issues with config on hosted version #218

olafveerman opened this issue May 1, 2018 · 1 comment

Comments

@olafveerman
Copy link
Contributor

When deploying the API through CloudFormation, it fails to start with this error message:

config.storage.host = process.env.STORAGE_HOST || config.storage.host;
TypeError: Cannot read property 'host' of undefined
@olafveerman
Copy link
Contributor Author

This is due to the post-install step that creates an empty local.js

"postinstall": "[ -f app/config/local.js ] || echo 'module.exports = {};' > app/config/local.js"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant