homebridge-smartthings icon indicating copy to clipboard operation
homebridge-smartthings copied to clipboard

(BUG) Error loading plugin

Open bdougherty opened this issue 5 years ago • 3 comments

Verify the following before opening an trouble issue

  • [x] That OAuth is Enabled for the SmartApp under the IDE.
  • [x] The SmartApp and Device Handler are using the latest code available.
  • [x] That Both the SmartApps and Device Handlers have been Published for You in the IDE.

About Your Setup

  • How many devices are detected?:
  • Mobile App Version(Not required):
  • SmartApp Version:
  • Device Handler Version:
  • Homebridge Version:
  • NodeJS Version:

Expected Behavior

The plugin should load properly

Current Behavior

The plugin does not load

Steps to Reproduce (for bugs)

  1. Install plugin
  2. Restart homebridge

Context

The error is Error: Cannot find module '/usr/lib/node_modules/homebridge-smartthings/index.js'

This is because of 72e95c619cc184919a4be16907b6bdb0ca378f17. There is no index.js in the repo so it cannot load.

bdougherty avatar Aug 19 '20 17:08 bdougherty

+1 I have the same issue now. Homebridge is not running because of this error

karthicashokan avatar Aug 19 '20 17:08 karthicashokan

same problem here. can remedy by downgrading

sudo npm install -g --unsafe-perm [email protected]

jarvismeier avatar Aug 19 '20 18:08 jarvismeier

v2.3.8 fixed the problem. All working normal again.

Thank you!

pizzinini avatar Aug 19 '20 21:08 pizzinini