@thona said in mmm-avstock error:

Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: Cannot access ‘config’ before initialization

syntax error.

stop magicmirror

then

cd ~/MagicMirror npm run config:check