Code Monkey home page Code Monkey logo

Comments (6)

respectTheCode avatar respectTheCode commented on May 30, 2024 2

For anyone else stumbling on this. If you are using the nodered/node-red-docker docker image then you need to use the v8 tag.

from node-red-contrib-home-assistant.

alasso avatar alasso commented on May 30, 2024

I have the same issue.

I have installed a node-red that works fine.
Then I installed a HA in the same raspberry and works fine too.
Now I installed node-red-contrib-home-assistant from the Manage Palette option in the menu. It installed with any message but their nodes does not appears in palette.

Any help will be appreciated.
Adrian

from node-red-contrib-home-assistant.

alasso avatar alasso commented on May 30, 2024

Hi,

I found something in the log that can be useful for the resolving the issue:

25 Mar 12:39:22 - [info] Dashboard version 2.8.2 started at /ui
25 Mar 12:39:27 - [warn] ------------------------------------------------------
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/server] SyntaxError: Unexpected identifier
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/server-events] SyntaxError: Unexpected identifier (line:1)
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/server-state-changed] SyntaxError: Unexpected identifier (line:2)
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/trigger-state] SyntaxError: Unexpected identifier
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/poll-state] SyntaxError: Unexpected identifier
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/api-call-service] SyntaxError: Unexpected identifier (line:2)
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/api-current-state] SyntaxError: Unexpected identifier (line:1)
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/api-get-history] SyntaxError: Unexpected identifier (line:2)
25 Mar 12:39:27 - [warn] [node-red-contrib-home-assistant/api-render-template] SyntaxError: Unexpected identifier (line:2)
25 Mar 12:39:27 - [warn] ------------------------------------------------------

I will try to understand where is the problem.

from node-red-contrib-home-assistant.

rubenbe avatar rubenbe commented on May 30, 2024

Hi @alasso,

I had a similar issue today when installing these HA nodes.
After a bit of searching and wasted time, it turned out that the default node-red container uses node-v6 [0], which is not supported [1].

[0] https://hub.docker.com/r/nodered/node-red-docker/tags/
[1] https://github.com/AYapejian/node-red-contrib-home-assistant#docker-tips

from node-red-contrib-home-assistant.

stainlessray avatar stainlessray commented on May 30, 2024

I continue to have this issue installing the latest version. No Docker.

from node-red-contrib-home-assistant.

frenck avatar frenck commented on May 30, 2024

I would say: Use the community version of the add-on:

https://github.com/hassio-addons/addon-node-red/

from node-red-contrib-home-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.