reacteu-app icon indicating copy to clipboard operation
reacteu-app copied to clipboard

Error: Cannot find module './secret'

Open wjessup opened this issue 9 years ago • 1 comments

In datastore.js line 5

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

this doesn't come w/ the default package

wjessup avatar Jun 11 '16 18:06 wjessup

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" } }

wjessup avatar Jun 11 '16 18:06 wjessup