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

missing aws key? #1

Open
ghost opened this issue Feb 27, 2013 · 5 comments
Open

missing aws key? #1

ghost opened this issue Feb 27, 2013 · 5 comments

Comments

@ghost
Copy link

ghost commented Feb 27, 2013

when I run my node app, i get the following error:

if (!options.key) throw new Error('aws "key" required');

Error: aws "key" required

here is my code, I am following convention.

http://pastebin.com/9yZU8MSQ

@secretfader
Copy link

I'm encountering this problem too.

@FRickReich
Copy link

same...

@SeyZ
Copy link

SeyZ commented Jul 14, 2014

👍

@jacobmoe
Copy link

If anyone is still seeing this bug, the issue is that mongoose-attachments-knox doesn't return a reference to mongoose-attachments as the documentation claims (at least the version currently published to npm doesn't).

Rather than

var attachments = require('mongoose-attachments-knox')

do

require('mongoose-attachments-knox')
var attachments = require('mongoose-attachments')

@SeyZ
Copy link

SeyZ commented Feb 24, 2015

Thanks @jacobmoe

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

4 participants