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

Improvement on the documentation #19

Open
rijkerd opened this issue Dec 14, 2018 · 1 comment
Open

Improvement on the documentation #19

rijkerd opened this issue Dec 14, 2018 · 1 comment

Comments

@rijkerd
Copy link

rijkerd commented Dec 14, 2018

Entered into an error while running the command Heroku local because of the environment variable. So could you add a simple note to anyone following up on the tutorial to consider that before running Heroku locally?

https://devcenter.heroku.com/articles/s3-upload-node

@YeahHuang
Copy link

I also met the error when running heroku local. My error is the configuration is not loaded into app.js. Could plz provide more information about the error you met?

My situation:
Error: Missing required key 'Bucket' in params
Reason: when running console.log(process.env.S3_BUCKET), it shows undefined
although running heroku config 's result is correct

 === obscure-headland-57151 Config Vars
AWS_ACCESS_KEY_ID:     xxxx
AWS_SECRET_ACCESS_KEY: xxxx
S3_BUCKET:             xxx

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

2 participants