New created node not visible in the palette

Hey,

I created new nodes for OPC UA. Now I would like to test them, but they are not visible in the palette on the left side. In the html-File I created a new category, but I can´t see this new category. But when I take a look in the palette, where I can manage my nodes, I am able to see them. But the only option I have is to enable/disable them.

Do I have to publish the nodes before testing them, so that I can see them in the palette on the left side of Node-Red?

Here my package.json:
{
"name": "node-red-contrib-simatic-opcua-event",
"version": "0.0.10",
"description": "A node-red node to communicate with Siemens PLC S7-1500 or any other basic opc ua server. Based on "node-red-contrib-opcua"-Nodes.",
"directories": {
"doc": "docs"
},
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"repository": {
"type": "git",
"url": "git@code.siemens.com:simatic-systems-support/industrial-edge/edge-apps/nodered.git"
},
"keywords": [
"opcua",
"simatic"
],
"author": "Lena Lind",
"license": "Apache-2.0",
"node-red": {
"nodes": {
"OpcUa-SimaticEvent": "OPCUASimaticEvent.js",
"OpcUa-SimaticClient": "OPCUASimaticClient.js",
"OpcUa-SimaticEndpoint": "OPCUASimaticEndpoint.js"
}
},
"dependencies": {
"async": "^3.2.1",
"chalk": "^4.1.2",
"env-path": "^1.0.7",
"env-paths": "^2.2.1",
"es6-map": "^0.1.5",
"flatted": "^3.2.2",
"node-opcua": "^2.50.0"
}
}

How did you install the node?

Show us what you have put in package.json

I installed it with "npm install"

And I´m working with docker, so I copied the folder in my Dockerfile

Did you check your node-red/container log? If there are problems with the node it will state it there, and won't import it.

Sorry, I found the problem, there was a mistake in the names of the files...

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.