Skip to content

this.config is undefined #57

Open
Open
@lmdc45

Description

@lmdc45

not sure why but got error saying this.config is undefined in node_helper.js line 42

working with adding this.config again from the main config. Very new to MMM so no idea where the issue comes from, might be me...

start: function function_name () {
        if(!this.config){
            this.config = config.modules.find(m=>m.module=='MMM-NetworkScanner').config;
        }
        this.log("Starting module: " + this.name);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions