Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.config is undefined #57

Open
lmdc45 opened this issue Jan 1, 2021 · 0 comments
Open

this.config is undefined #57

lmdc45 opened this issue Jan 1, 2021 · 0 comments

Comments

@lmdc45
Copy link

lmdc45 commented Jan 1, 2021

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);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant