Code Monkey home page Code Monkey logo

homebridge-openhab's People

Watchers

 avatar  avatar

homebridge-openhab's Issues

filename mismatch of RollershutterItem.js

actually it is named RollerShutterItem.js which makes it fail on OS with case-sensitive filesystem:

Jan 28 22:56:38 DietPi node[20288]: ====================
Jan 28 22:56:38 DietPi node[20288]: ERROR LOADING PLUGIN homebridge-openhab:
Jan 28 22:56:38 DietPi node[20288]: Error: Cannot find module '../items/RollershutterItem.js'
Jan 28 22:56:38 DietPi node[20288]: at Function.Module._resolveFilename (module.js:326:15)
Jan 28 22:56:38 DietPi node[20288]: at Function.Module._load (module.js:277:25)
Jan 28 22:56:38 DietPi node[20288]: at Module.require (module.js:354:17)
Jan 28 22:56:38 DietPi node[20288]: at require (internal/module.js:12:17)
Jan 28 22:56:38 DietPi node[20288]: at Object.<anonymous> (/opt/node/lib/node_modules/homebridge-openhab/libs/ItemFactory.js:9:29)
Jan 28 22:56:38 DietPi node[20288]: at Module._compile (module.js:398:26)
Jan 28 22:56:38 DietPi node[20288]: at Object.Module._extensions..js (module.js:405:10)
Jan 28 22:56:38 DietPi node[20288]: at Module.load (module.js:344:32)
Jan 28 22:56:38 DietPi node[20288]: at Function.Module._load (module.js:301:12)
Jan 28 22:56:38 DietPi node[20288]: at Module.require (module.js:354:17)

solution is to rename the file to RollershutterItem.js.

SyntaxError: Unexpected token .

fresh install via sudo npm install -g redhell/homebridge-openHAB fails on startup:

Jan 28 22:58:08 DietPi node[20400]: ====================
Jan 28 22:58:08 DietPi node[20400]: ERROR LOADING PLUGIN homebridge-openhab:
Jan 28 22:58:08 DietPi node[20400]: SyntaxError: Unexpected token .
Jan 28 22:58:08 DietPi node[20400]: at exports.runInThisContext (vm.js:53:16)
Jan 28 22:58:08 DietPi node[20400]: at Module._compile (module.js:374:25)
Jan 28 22:58:08 DietPi node[20400]: at Object.Module._extensions..js (module.js:405:10)
Jan 28 22:58:08 DietPi node[20400]: at Module.load (module.js:344:32)
Jan 28 22:58:08 DietPi node[20400]: at Function.Module._load (module.js:301:12)
Jan 28 22:58:08 DietPi node[20400]: at Module.require (module.js:354:17)
Jan 28 22:58:08 DietPi node[20400]: at require (internal/module.js:12:17)
Jan 28 22:58:08 DietPi node[20400]: at Object.<anonymous> (/opt/node/lib/node_modules/homebridge-openhab/libs/ItemFactory.js:15:26)
Jan 28 22:58:08 DietPi node[20400]: at Module._compile (module.js:398:26)
Jan 28 22:58:08 DietPi node[20400]: at Object.Module._extensions..js (module.js:405: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.