6/4/2023 6:08 PM | |
Joined: 3/30/2015 Last visit: 3/7/2024 Posts: 70 Rating: (1) |
Hi, Can someone please help. I have the following error on Node-red. Not able to read from S7-1200 PLC . I noticed that when I tried to do the npm node red installation, i had quite some errors, however, i still got the S7 IN and OUT in my Node Red. Thank you. Node-red installation error: ++++++++++++++++++++++++++++++++++++ login as: root Last login: Sun Jun 4 14:04:24 2023 from 192.168.200.80 root@iot2000:~# cd /usr/lib/node_modules/ root@iot2000:/usr/lib/node_modules# npm install node-red-contrib-s7 npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellane ous Warning EAI_AGAIN: request to https://registry.npmjs.org/mpi-s7 failed, reas on: getaddrinfo EAI_AGAIN registry.npmjs.org:443 npm WARN registry Using stale data from https://registry.npmjs.org/ due to a req uest error during revalidation. npm WARN tar ENOENT: no such file or directory, lstat '/usr/lib/node_modules/.st aging/usb-ee5b126a/libusb/.private' npm WARN tar ENOENT: no such file or directory, lstat '/usr/lib/node_modules/.st aging/usb-ee5b126a/libusb/.private' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/msvc/ddk_build.cmd' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/libusb/os/haiku_pollfs.cpp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/libusb/os/haiku_usb_backend.cpp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/libusb/os/haiku_usb_raw.cpp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/libusb/libusb-1.0.def' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/msvc/libusb_dll.dsp' npm WARN notsup Unsupported engine for usb@1.9.2: wanted: {"node":">=10.16.0"} ( current: {"node":"8.17.0","npm":"6.13.4"}) npm WARN notsup Not compatible with your version of node/npm: usb@1.9.2 npm ERR! code ENOENT npm ERR! syscall rename npm ERR! path /usr/lib/node_modules/.staging/node-red-contrib-s7-c102cf38/node_m odules/nodes7 npm ERR! dest /usr/lib/node_modules/.staging/nodes7-2da124db npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules /.staging/node-red-contrib-s7-c102cf38/node_modules/nodes7' -> '/usr/lib/node_mo dules/.staging/nodes7-2da124db' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/msvc/libusb_static.dsp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/msvc/listdevs.dsp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/msvc/xusb.dsp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/msvc/libusb.dsw' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb/README.git' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/binding.gyp' npm WARN tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.sta ging/usb-ee5b126a/libusb.gypi' npm ERR! A complete log of this run can be found in: npm ERR! /home/root/.npm/_logs/2023-06-04T18_28_27_178Z-debug.log root@iot2000:/usr/lib/node_modules# ------------------------------------------------------------------------------------------ |
Last edited by: oluwasedago at: 06/04/2023 18:34:08Last edited by: Jen_Moderator at: 06/05/2023 11:04:53New subject after splitting |
|
Follow us on