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

Error: Cannot find module './secret' #16

Open
wjessup opened this issue Jun 11, 2016 · 1 comment
Open

Error: Cannot find module './secret' #16

wjessup opened this issue Jun 11, 2016 · 1 comment

Comments

@wjessup
Copy link

wjessup commented Jun 11, 2016

In datastore.js line 5

var assign = require('./secret');

this doesn't come w/ the default package

@wjessup
Copy link
Author

wjessup commented Jun 11, 2016

this works if you change default.secret.json to secret.js and export the object:

module.exports = { "main": { "id": 0, "token": "qwerty123" }, "hackathon": { "id": 1, "token": "qwerty234" }, "workshop": { "id": 2, "token": "qwerty345" } }

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