skuhl / RobotRemote

0 stars 0 forks source link

Log4js broke the scheduler page #52

Closed GraysonHoward closed 6 years ago

GraysonHoward commented 6 years ago

Currently running into the problem that 'require' is not a client side function so I can't use Log4js in the scheduler.js file. For now I can comment it out but I think I would be helpful to have working there. A quick search online tells me that the main solution to this problem is using requirejs but when I try to install it npm gives me a slew of errors

BinaryFissionGames commented 6 years ago

Don't use log4js on client-sent code. My bad, should have stated that explicitly. I wanted to use it for server logs.

On client side, console.log and console.error are fine.

GraysonHoward commented 6 years ago

okay I'll switch it back over then!