-
Notifications
You must be signed in to change notification settings - Fork 16
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
install on redmatic ccu3 failes #69
Comments
@krilor1, could you please provide more information or a stack trace of the error? It would help in diagnosing the issue. Thank you. |
Hello, unfortunately I don't get any more information. |
Hello @krilor1, I'm sorry to hear that you're still experiencing issues. The error message "Cannot read property 'nodes' of null" is quite generic and could be caused by a variety of factors. It's a bit challenging to pinpoint the exact issue without more detailed information. However, here are a few suggestions you might want to try:
If none of these suggestions help, please let me know. We'll continue to work on this issue together until we find a solution. Best regards, Caputo |
Hello @krilor1, Thank you for your patience. I wanted to let you know that the latest version now includes support for RedMatic on CCU3. Please update to the newest version and try the installation again. If you encounter any further issues or the problem persists, please feel free to reopen this issue. We're committed to ensuring that everything works smoothly for you. Best regards, Caputo |
Hello, Greetings, |
Hello @krilor1, Thank you for informing me about the issue. Based on the information provided, the package Here are some steps to resolve this:
Here is an example of how it was configured and succeeded in my environment: ~/.node-red
❯ node --version
v14.16.0
~/.node-red
❯ npm --version
7.6.3
~/.node-red
❯ node-red
3 Jun 09:53:54 - [info]
Welcome to Node-RED
===================
3 Jun 09:53:54 - [info] Node-RED version: v3.1.9
3 Jun 09:53:54 - [info] Node.js version: v14.16.0
3 Jun 09:53:54 - [info] Linux 5.15.123.1-microsoft-standard-WSL2 x64 LE
3 Jun 09:53:54 - [info] Loading palette nodes
3 Jun 09:53:54 - [warn] Missing node modules:
3 Jun 09:53:54 - [warn] - node-red-contrib-oauth2 (6.2.1): oauth2, oauth2
3 Jun 09:53:54 - [info] Removing modules from config
3 Jun 09:53:54 - [info] Settings file : /home/caputo/.node-red/settings.js
3 Jun 09:53:54 - [info] Context store : 'default' [module=memory]
3 Jun 09:53:54 - [info] User directory : /home/caputo/.node-red
3 Jun 09:53:54 - [warn] Projects disabled : editorTheme.projects.enabled=false
3 Jun 09:53:54 - [info] Flows file : /home/caputo/.node-red/flows.json
3 Jun 09:53:54 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
3 Jun 09:53:54 - [info] Waiting for missing types to be registered:
3 Jun 09:53:54 - [info] - oauth2
3 Jun 09:53:54 - [info] Server now running at http://127.0.0.1:1880/
3 Jun 09:54:20 - [info] Installing module: node-red-contrib-oauth2, version: 6.2.1
3 Jun 09:54:22 - [info] Installed module: node-red-contrib-oauth2
3 Jun 09:54:22 - [info] Missing type registered: oauth2
3 Jun 09:54:22 - [info] Starting flows
3 Jun 09:54:22 - [info] Started flows
3 Jun 09:54:22 - [info] Added node types:
3 Jun 09:54:22 - [info] - node-red-contrib-oauth2:oauth2
3 Jun 09:54:22 - [info] - node-red-contrib-oauth2:oauth2 If the problem persists after these steps, please let me know so I can help investigate further. Best regards, Caputo. |
Hello Caputo,the versions of my installation seem to be significantly lower than yours. Could this be a reason and can I simply change this?node --versionv8.11.4npm ***@***.*** 03.06.2024 um 15:04 schrieb Marcos Caputo ***@***.***>:
Hello @krilor1,
Thank you for informing me about the issue. Based on the information provided, the package node-red-contrib-oauth2 supports any Node.js version greater than or equal to 12.0.0, so version 14.16.0 should work correctly. The error messages might be caused by another configuration or dependency in your environment.
Here are some steps to resolve this:
Check your Node.js and npm versions:
node --version
v14.16.0
npm --version
7.6.3
Ensure you are in the correct directory and have all dependencies installed:
cd ~/.node-red
npm install
Start Node-RED:
node-red
Here is an example of how it was configured and succeeded in my environment:
~/.node-red
❯ node --version
v14.16.0
~/.node-red
❯ npm --version
7.6.3
~/.node-red
❯ node-red
3 Jun 09:53:54 - [info]
Welcome to Node-RED
===================
3 Jun 09:53:54 - [info] Node-RED version: v3.1.9
3 Jun 09:53:54 - [info] Node.js version: v14.16.0
3 Jun 09:53:54 - [info] Linux 5.15.123.1-microsoft-standard-WSL2 x64 LE
3 Jun 09:53:54 - [info] Loading palette nodes
3 Jun 09:53:54 - [warn] Missing node modules:
3 Jun 09:53:54 - [warn] - node-red-contrib-oauth2 (6.2.1): oauth2, oauth2
3 Jun 09:53:54 - [info] Removing modules from config
3 Jun 09:53:54 - [info] Settings file : /home/caputo/.node-red/settings.js
3 Jun 09:53:54 - [info] Context store : 'default' [module=memory]
3 Jun 09:53:54 - [info] User directory : /home/caputo/.node-red
3 Jun 09:53:54 - [warn] Projects disabled : editorTheme.projects.enabled=false
3 Jun 09:53:54 - [info] Flows file : /home/caputo/.node-red/flows.json
3 Jun 09:53:54 - [warn]
…---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
3 Jun 09:53:54 - [info] Waiting for missing types to be registered:
3 Jun 09:53:54 - [info] - oauth2
3 Jun 09:53:54 - [info] Server now running at http://127.0.0.1:1880/
3 Jun 09:54:20 - [info] Installing module: node-red-contrib-oauth2, version: 6.2.1
3 Jun 09:54:22 - [info] Installed module: node-red-contrib-oauth2
3 Jun 09:54:22 - [info] Missing type registered: oauth2
3 Jun 09:54:22 - [info] Starting flows
3 Jun 09:54:22 - [info] Started flows
3 Jun 09:54:22 - [info] Added node types:
3 Jun 09:54:22 - [info] - node-red-contrib-oauth2:oauth2
3 Jun 09:54:22 - [info] - node-red-contrib-oauth2:oauth2
If the problem persists after these steps, please let me know so I can help investigate further.
Best regards,
Caputo.
—Reply to this email directly, view it on GitHub, bor unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello @krilor1, Thank you for informing me about the issue. Based on the information provided, the Supported Node.js Versions by Node-REDAccording to the Node-RED documentation (updated on 2024-01-03), it is currently recommended to use Node.js version 20.x. Node-RED aims to keep up with Node.js releases and supports the Maintenance and Active LTS versions. We do not recommend using the odd-numbered Node.js versions, as we do not routinely test against them.
Using
|
If i try to install oauth2 on redmatic in ccu3 i get the message "Cannot read property 'nodes' of null" and the node is not installed.
The text was updated successfully, but these errors were encountered: