Skip to content

nginxproxymanager creating a new stream fails due outdated NodeJS VersionΒ #4212

Open
@floriantraber

Description

@floriantraber

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

yes

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

nginxproxymanager

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nginxproxymanager.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 Nginx Proxy Manager script install NodeJS 16.20.2 here

$STD nvm install 16.20.2

NodeJS 16 doesn't contain the structuredClone function used in NPM here: https://github.com/NginxProxyManager/nginx-proxy-manager/blob/5e66d677f1402b0414ae07124ad810fbc12c36ec/backend/internal/stream.js#L40

This breaks creating a new stream in NPM.

If you pull the NPM latest docker image it uses v20.18.3. I upgraded node to v20.18.3 manually and creating a script now worked.

πŸ”„ Steps to reproduce the issue.

  1. Install the script with default settings.
  2. Login and try to create a Stream.

❌ Paste the full error output (if available).

structuredClone not defined.

May 04 16:32:34 nginxproxymanager node[127]: [5/4/2025] [4:32:34 PM] [Express ] β€Ί ⚠ warning structuredClone is not defined

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions