octomirror-module icon indicating copy to clipboard operation
octomirror-module copied to clipboard

error install

Open myayo001 opened this issue 2 years ago • 0 comments

Hello, I try to install the module on my magicmirror. but I have one error.

When I lauch the npm start dev, I have this :

starting module: octomirror-module octomirror-module.js:110 Uncaught ReferenceError: OctoPrintClient is not defined at Class.start (octomirror-module.js:110:29) at startModules (loader.js:51:11) at loader.js:38:6 at HTMLLinkElement.stylesheet.onload (loader.js:210:7)

in the config.js I have { module: “octomirror-module”, position: “middle_center”, config: { //js octomirror stream.setAttribute (‘width’, ‘300’); debugMode: true, url: “http://192.168.0.30/”, printerName: “D12 230”, api_key: “CC9E078BF70443DC94CB4C664E13E236”, streamUrl: ‘http://192.168.0.30/webcam/?action=stream/’, interactive: false, showDetailsWhenOffline: false, } },

thanks for help.

myayo001 avatar Dec 15 '22 13:12 myayo001