The version of node was the point. I had Version 4.2.6, now updated to V7.7.2.
It works now.
Thank you very much.
The version of node was the point. I had Version 4.2.6, now updated to V7.7.2.
It works now.
Thank you very much.
Hi
If I take the example with a matching token,
“Node serveronly” does not start.
Loading config …
Loading module helpers …
WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
Loading module helpers …
Whoops! There was an uncaught exception…
[SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode]
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
var config = {
port: 8070,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.1.22”],
language: 'de',
timeFormat: 24,
units: 'metric',
modules: [
{
module: ‘MMM-Fuel’,
position: ‘top_right’,
config: {
api_key: ‘f9fXXXXXXX’,
lat: 51.899177,
lng: 10.184662,
types: [‘diesel’],
}
}
]
};