GithubHelp home page GithubHelp logo

Comments (4)

nischi avatar nischi commented on August 25, 2024 1

@HorstBaerbel package-lock.json is a generated file and you should not update it manually. Its anyway not needed if you do a npm install, only if you use npm ci. So that do no difference but should be the same.

from mmm-ceccontrol.

ericlo00 avatar ericlo00 commented on August 25, 2024

Is this fixed? I seem to still get the same callback error using CECControl. Btw, I'm using the latest node_helper.js.

[22:41:51.909] [LOG]    CECControl change status (current, new): none on
[22:41:51.911] [LOG]    Whoops! There was an uncaught exception...
[22:41:51.911] [ERROR]  ReferenceError: callback is not defined
    at Class.turnOnCEC (/home/pi/MagicMirror/modules/MMM-CECControl/node_helper.js:70:72)
    at Class.turnOn (/home/pi/MagicMirror/modules/MMM-CECControl/node_helper.js:99:9)
    at Class.handleQueue (/home/pi/MagicMirror/modules/MMM-CECControl/node_helper.js:33:13)
    at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-CECControl/node_helper.js:64:10)
    at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:113:11)
    at Socket.emit (events.js:200:13)
    at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
    at processTicksAndRejections (internal/process/task_queues.js:82:9)

from mmm-ceccontrol.

nischi avatar nischi commented on August 25, 2024

i need to check that on my machine shortly. will get some feedback.

from mmm-ceccontrol.

HorstBaerbel avatar HorstBaerbel commented on August 25, 2024

@nischi Not a node.js expert, but you might need to update package-lock.json to the new version number (1.4). I update the version in package.json, but not in package-lock.json.

from mmm-ceccontrol.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.