Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected token '.' if (msg?.path?.indexOf(this.pathRoot) === 0) #25

Open
Chreece opened this issue Sep 16, 2022 · 0 comments

Comments

@Chreece
Copy link

Chreece commented Sep 16, 2022

Tried to install on a Debian 11 miniPC and on Pi4
Both give the same error:

Sep 16 16:53:11 Wohnzimmer systemd[1]: Cybele.service: Failed with result 'exit-code'.
Sep 16 16:53:11 Wohnzimmer systemd[1]: Cybele.service: Main process exited, code=exited, status=1/FAILURE
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Module._compile (internal/modules/cjs/loader.js:999:30)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Object.<anonymous> (/home/pi/Cybele/lib/DongleFactory.js:4:16)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at require (internal/modules/cjs/helpers.js:74:18)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Module.require (internal/modules/cjs/loader.js:887:19)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Module.load (internal/modules/cjs/loader.js:863:32)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at Module._compile (internal/modules/cjs/loader.js:963:27)
Sep 16 16:53:11 Wohnzimmer node[13973]:     at wrapSafe (internal/modules/cjs/loader.js:915:16)
Sep 16 16:53:11 Wohnzimmer node[13973]: SyntaxError: Unexpected token '.'
Sep 16 16:53:11 Wohnzimmer node[13973]:                 ^
Sep 16 16:53:11 Wohnzimmer node[13973]:         if (msg?.path?.indexOf(this.pathRoot) === 0) {
Sep 16 16:53:11 Wohnzimmer node[13973]: /home/pi/Cybele/lib/Dongle.js:160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant