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

New install in Home Assistant fails to load. #68

Closed
charredchar opened this issue Sep 18, 2020 · 1 comment
Closed

New install in Home Assistant fails to load. #68

charredchar opened this issue Sep 18, 2020 · 1 comment

Comments

@charredchar
Copy link

Describe the bug
Attempted to install package in Home Assistant from the Node-RED configuration.

To Reproduce
Steps to reproduce the behavior:
In Home Assistant, go to Supervisor > Node-RED > Configuration > Add " - node-red-contrib-ical-events" under "npm_packages:"

Expected behavior
See new nodes in Node-RED dashboard

**node-red-contrib-ical-events

  • Version 0.17.5
    Node-RED: 7.2.0
    System: HassOS 4.13 (amd64 / qemux86-64)
    Home Assistant Core: 0.115.0
    Home Assistant Supervisor: 245

Additional context
While reloading Node-RED I found this error but I can not find any information on "luxon" for Node-RED or Home Assistant.

18 Sep 00:24:33 - [warn] [node-red-contrib-ical-events/ical-events] Error: Cannot find module 'luxon'
Require stack:
- /opt/node_modules/rrule/dist/es5/rrule.js
- /opt/node_modules/node-ical/ical.js
- /opt/node_modules/node-ical/index.js
- /opt/node_modules/node-red-contrib-ical-events/dist/caldav.js
- /opt/node_modules/node-red-contrib-ical-events/dist/helper.js
- /opt/node_modules/node-red-contrib-ical-events/dist/ical-events.js
- /opt/node_modules/@node-red/registry/lib/loader.js
- /opt/node_modules/@node-red/registry/lib/index.js
- /opt/node_modules/@node-red/runtime/lib/nodes/index.js
- /opt/node_modules/@node-red/runtime/lib/index.js
- /opt/node_modules/node-red/lib/red.js
- /opt/node_modules/node-red/red.js
18 Sep 00:24:33 - [warn] [node-red-contrib-ical-events/ical-sensor] Error: Cannot find module 'luxon'
Require stack:
- /opt/node_modules/rrule/dist/es5/rrule.js
- /opt/node_modules/node-ical/ical.js
- /opt/node_modules/node-ical/index.js
- /opt/node_modules/node-red-contrib-ical-events/dist/caldav.js
- /opt/node_modules/node-red-contrib-ical-events/dist/helper.js
- /opt/node_modules/node-red-contrib-ical-events/dist/ical-sensor.js
- /opt/node_modules/@node-red/registry/lib/loader.js
- /opt/node_modules/@node-red/registry/lib/index.js
- /opt/node_modules/@node-red/runtime/lib/nodes/index.js
- /opt/node_modules/@node-red/runtime/lib/index.js
- /opt/node_modules/node-red/lib/red.js
- /opt/node_modules/node-red/red.js
18 Sep 00:24:33 - [warn] [node-red-contrib-ical-events/ical-upcoming] Error: Cannot find module 'luxon'
Require stack:
- /opt/node_modules/rrule/dist/es5/rrule.js
- /opt/node_modules/node-ical/ical.js
- /opt/node_modules/node-ical/index.js
- /opt/node_modules/node-red-contrib-ical-events/dist/caldav.js
- /opt/node_modules/node-red-contrib-ical-events/dist/helper.js
- /opt/node_modules/node-red-contrib-ical-events/dist/ical-upcoming.js
- /opt/node_modules/@node-red/registry/lib/loader.js
- /opt/node_modules/@node-red/registry/lib/index.js
- /opt/node_modules/@node-red/runtime/lib/nodes/index.js
- /opt/node_modules/@node-red/runtime/lib/index.js
- /opt/node_modules/node-red/lib/red.js
- /opt/node_modules/node-red/red.js
18 Sep 00:24:33 - [warn] ------------------------------------------------------

@charredchar
Copy link
Author

charredchar commented Sep 19, 2020

I should mention that I managed to get it working by removing it from the config and installing it directly from the Node-RED interface. I am not sure why this mattered but it fixed it.

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