Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin won't initialise

See original GitHub issue

What issue do you have? Please be as thorough and explicit as possible.

Plugin won’t intilise

Details of your setup.

  • Do you use (1) Homebridge (+ config-ui), (2) Homebridge (CLI) or (3) HOOBS?

Homebridge and config-ui

  • Which version of Homebridge/HOOBS do you have?

Homebridge v 1.3.2

  • Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Raspberry Pi

Node.js Version | v14.16.0 NPM v6.14.11

  • Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?

Version 5.1.1

  • Which eWeLink devices do you have that are causing issues? Please include product models if applicable.

All devices do not work

Please paste any relevant logs below.

[3/5/2021, 9:24:56 AM] ---
[3/5/2021, 9:24:57 AM] Loaded plugin: homebridge-config-ui-x@4.39.1
[3/5/2021, 9:24:57 AM] Registering platform 'homebridge-config-ui-x.config'
[3/5/2021, 9:24:57 AM] ---
[3/5/2021, 9:24:57 AM] Loaded plugin: homebridge-envisalink@0.2.16
[3/5/2021, 9:24:57 AM] Registering platform 'homebridge-envisalink.Envisalink'
[3/5/2021, 9:24:57 AM] ---[3/5/2021, 9:24:57 AM] Loaded plugin: homebridge-ewelink@5.1.1
[3/5/2021, 9:24:57 AM] Registering platform 'homebridge-ewelink.eWeLink'
[3/5/2021, 9:24:57 AM] ---
[3/5/2021, 9:24:57 AM] Loading 2 platforms...
[3/5/2021, 9:24:57 AM] [Config] Initializing config platform...
[3/5/2021, 9:24:57 AM] [Config] Running in Service Mode
[3/5/2021, 9:24:57 AM] [eWeLink] Initializing eWeLink platform...
[3/5/2021, 9:24:57 AM] [eWeLink] [v5.1.1] initialised. Syncing with eWeLink.
[3/5/2021, 9:24:57 AM] [eWeLink] ***** Disabling plugin [v5.1.1]. *****
[3/5/2021, 9:24:57 AM] [eWeLink] ***** Invalid or unexpected tokenyE s`d�����. *****

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

bwp91commented, Mar 5, 2021

Ah pretty standard then 😅 Do you get this error every time you restart Homebridge?

The-Doddlercommented, Mar 5, 2021

Here is the detailed log:

[3/5/2021, 12:29:00 PM] Loading 2 platforms… [3/5/2021, 12:29:00 PM] [Config] Initializing config platform… [3/5/2021, 12:29:00 PM] [Config] Running in Service Mode [3/5/2021, 12:29:00 PM] [eWeLink] Initializing eWeLink platform… [3/5/2021, 12:29:00 PM] [eWeLink] [v5.1.2-3] initialised. Syncing with eWeLink. [3/5/2021, 12:29:00 PM] [eWeLink] ***** Disabling plugin [v5.1.2-3]. ***** [3/5/2021, 12:29:00 PM] [eWeLink] ***** /usr/lib/node_modules/homebridge-ewelink/node_modules/axios/lib/cancel/CancelToken.js:1 yE s`d����� ^

SyntaxError: Invalid or unexpected token at wrapSafe (internal/modules/cjs/loader.js:979:16) at Module._compile (internal/modules/cjs/loader.js:1027:27) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/usr/lib/node_modules/homebridge-ewelink/node_modules/axios/lib/axios.js:41:21) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10). *****

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Can't Initialize Plugins Directory Windows 10
First, open the Start menu and enter “settings”. From the settings screen, click on “System”. Next, under “System and Security” click on “Plug- ......
Read more >
Getting error message, cannot initialize plugins directory, try ...
When trying to install programs, my computer(windows 8.1) shows this error message, "error! Cannot initialize plug-ins directory.
Read more >
Failed to initialize plugin -
Solution to the problem! —I have the message: “Failed to initialize plugin: et_quicktags”—. After the update, the editor has also been updated. You ......
Read more >
Error: Unable to initialize this plugin · Issue #12 - GitHub
Error: Unable to initialize this plugin: Exception has been thrown by the target of an invocation. To Reproduce
Read more >
Error! Can't initialize plug-ins directory | - Nguyen Quy Hy's blog
I tried to install the new version of IntelliJ IDEA today and I got this strange problem. Error! Can't initialize plug-ins directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found