tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
384 stars 770 forks source link

(BUG) Error loading plugin #354

Open bdougherty opened 3 years ago

bdougherty commented 3 years ago

Verify the following before opening an trouble issue


About Your Setup

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.

karthicashokan commented 3 years ago

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

jarvismeier commented 3 years ago

same problem here. can remedy by downgrading

sudo npm install -g --unsafe-perm homebridge-smartthings@2.3.4

pizzinini commented 3 years ago

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

Thank you!