ralberth / MMM-MysqlQuery

MagicMirror plug-in module that displays a table of MySQL SELECT results
MIT License
8 stars 3 forks source link

Mirror Blacks out when using module #11

Closed JCleary682 closed 4 years ago

JCleary682 commented 4 years ago

Hi

I am currently trying to use the module to run a general query in a database hosted by my universities lamp server. The screen appears to just black out when it is run, however im unsure what is happening here. I have attached a screenshot of the error logs from pm2 and I will add in my config too, although I have removed any info which could cause security issues.

Screenshot 2020-01-31 at 22 35 58

{ module: 'MMM-MysqlQuery', position: "top_right", config: { connection: { host: "***", port: 3306, user: "**", password: "****", database: "**" }, query: select name from miiLearning_Users order by name, intervalSeconds: 15 * 60, emptyMessage: "No Users", columns: [ { name: "name", title: "Name", cssClass: "left", nullValue: "???" }, ] } },

JCleary682 commented 4 years ago

upon review this appears to have been my mistake, I simply forgot to run npm install when I installed the module (My bad) Closing issue

ralberth commented 4 years ago

Hi! Just saying 'hi', since I didn't get a chance to chat with you about this. Everything else going OK?