tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
384 stars 767 forks source link

Error: Cannot find module '/usr/local/lib/node_modules/homebridge-smartthings-v2/index.js' #431

Open BUMPRW opened 3 years ago

BUMPRW commented 3 years ago

Verify the following before opening an trouble issue

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!


About Your Setup

Expected Behavior

Tell us what you think should be happening

Current Behavior

What happens instead of the expected behavior?

Steps to Reproduce (for bugs)

Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

1. 2. 3. 4.

Context

How has this issue affected you? What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world**


Please include a copy of any relevant log output to assist in tracking down the [4/10/2021, 1:45:16 AM] ==================== [4/10/2021, 1:45:16 AM] ERROR LOADING PLUGIN homebridge-smartthings-v2: [4/10/2021, 1:45:16 AM] Error: Cannot find module '/usr/local/lib/node_modules/homebridge-smartthings-v2/index.js' Require stack:

BUMPRW commented 3 years ago

I checked index.js isn't there

HonbraDev commented 3 years ago

Same, to fix the problem, just edit the main property in package.json from index.js to src/index.js.

obrazek

EDIT: The issue has been fixed in the repo, the author just needs to push the latest version to npm.