Skip to content

zigbee2mqtt installation and update stopped workingΒ #4617

@StefanKachel

Description

@StefanKachel

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

zigbee2mqtt.sh

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/zigbee2mqtt.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

The update script as well as the install script error out. It looks like an update is needed since zigbee2mqtt changed.

πŸ”„ Steps to reproduce the issue.

To reproduce the update problem just call update from within a container.
To reproduce the install problem just call the install script from the proxmox host.

❌ Paste the full error output (if available).

npm error code EUSAGE
npm error
npm error The npm ci command can only install with an existing package-lock.json or
npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm error later to generate a package-lock.json file, then try again.
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace [-w|--workspace ...]]
npm error [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-05-21T04_14_00_865Z-debug-0.log
/
[ERROR] in line 57: exit code 0: while executing command $STD npm ci

πŸ–ΌοΈ Additional context (optional).

From what I saw zigbee2mqtt changed their npm version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions