Skip to content

DietPi-Software: installation of Node-RED (122) fails #7252

@mvanbrab

Description

@mvanbrab

Creating a bug report/issue

  • I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=8
    G_DIETPI_VERSION_RC=0
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 1
  • Kernel version | uname -a
    Linux dietpi1 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    RPi Zero W (armv6l)
  • Power supply used | (EG: 5V 1A RAVpower)
    5V 2.5A STONTRONICS
  • SD card used | (EG: SanDisk ultra)
    Transcend Premium 400x 16GB

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
    Node-RED
  • Was the software title installed freshly or updated/migrated?
    Fresh install
  • Can this issue be replicated on a fresh installation of DietPi?
    Yes
  • Bug report ID | echo $G_HW_UUID
    693b1d7d-ae95-4e05-b5cc-5966cbd2efb2

Steps to reproduce

  1. as root user, start dietpi-software
  2. search for software "Node-RED" (122) and select it for installation.
  3. install

Expected behaviour

  • Installation should work

Actual behaviour

  • This error message appears:
[ INFO ] DietPi-Software | runuser -u nodered -- npm i --cache /tmp/tmp.TJcTLucnGs --no-audit node-red@latest, please wait...
npm notice
npm notice New minor version of npm available! 10.5.0 -> 10.9.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.9.0>
npm notice Run `npm install -g [email protected]` to update!
npm notice
npm ERR! code ECONNRESET
npm ERR! network Client network socket disconnected before secure TLS connection was established
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

Extra details

  • I retried several times last week, from a fresh image and from an existing image.
  • I'm not behind a proxy
  • Network connectivity is OK (tested with dietpi-config)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions