BernhardSchlegel / BierBot

Raspberry Pi powered, Brewing Software for iOS, Android and Desktop (Mash and Ferment)
Other
17 stars 5 forks source link

ReferenceError: defaults is not defined #8

Closed befel closed 4 years ago

befel commented 4 years ago

Hi, great project! I would like to try it out, but get a ReferenceError in server.js at line 271. I followed your howto on a Pi2 B (fresh installation)

BernhardSchlegel commented 4 years ago

Hi befel, thanks for checking out the Bierbot. Sorry to hear you're experiencing troubles. Was your Raspian a fresh install? Can you share the complete error message?

Best, Bernhard.

BernhardSchlegel commented 4 years ago

Hi,

found it! For some strange reason your setup failed. Can you try adding the following line as line 40 in server.js?

var defaults = require('./libs/defaults');

Something went wrong during setup..

befel commented 4 years ago

Yes thanks, That was the problem. It's working now...time to play :) Yes fresh Raspbian install

BernhardSchlegel commented 4 years ago

Glad to hear! Thanks for participating :)