Closed lpj669 closed 1 year ago
nodered | 20 Feb 12:40:14 - [info] Modul wird installiert: node-red-contrib-teachable-machine, Version: 1.4.0 nodered | 20 Feb 12:41:41 - [info] Installiertes Modul: node-red-contrib-teachable-machine nodered | 20 Feb 12:41:42 - [info] Hinzugefügte Node-Typen: nodered | 20 Feb 12:41:42 - [info] - node-red-contrib-teachable-machine:teachable machine : Error: Cannot find module '/data/node_modules/semver/index.js'. Please verify that the package.json has a valid "main" entry [...] nodered | Willkommen bei Node-RED nodered | =================== nodered | 20 Feb 13:08:45 - [info] Node-RED Version: v3.0.2 nodered | 20 Feb 13:08:45 - [info] Node.js Version: v16.16.0 nodered | 20 Feb 13:08:45 - [info] Linux 5.15.89-rockchip64 arm64 LE [...] nodered | 20 Feb 13:09:04 - [warn] [node-red-contrib-teachable-machine/teachable machine] Error: Cannot find module '/data/node_modules/@tensorflow/tfjs-node/lib/napi-v5/tfjs_binding.node' nodered | Require stack: nodered | - /data/node_modules/@tensorflow/tfjs-node/dist/index.js nodered | - /data/node_modules/node-red-contrib-teachable-machine/teachable_machine.js nodered | - /usr/src/node-red/node_modules/@node-red/registry/lib/loader.js nodered | - /usr/src/node-red/node_modules/@node-red/registry/lib/index.js nodered | - /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/index.js nodered | - /usr/src/node-red/node_modules/@node-red/runtime/lib/index.js nodered | - /usr/src/node-red/node_modules/node-red/lib/red.js nodered | - /usr/src/node-red/node_modules/node-red/red.js
I encountered the following error while using Docker to install Node-RED:
Error Description:
I used Docker Engine - Community for the installation. Here are the details:
Client: Docker Engine - Community
Version: 24.0.2
Server: Docker Engine - Community
Engine:
Version: 24.0.2
Node-RED version: 3.0.2
Node version: 16.16.0
Operating System: Debian 11 (Bullseye)
if it is docker that you are using, it is not compatible since its base image is Alpine. You can use the latests 3.1 version from dev with Debian base image and it works! https://hub.docker.com/layers/nodered/node-red-dev/v3.1.0-beta.4-debian/images/sha256-82a1b46a1fbc5c1ff49bccb23380988fa289d64e3a8eaf4baf71ebaefd858579?context=explore
check https://github.com/node-red/node-red-docker/issues/378
Hello everyone. After installing Node-red-contrib-teachable-machine in node-red, the ERR_DLOPEN_FAILED message appears, as shown in the figure. The program cannot be deployed. How to solve this problem? I hopesomeone can help me, thanks!