Remove --unsafe-perms from npm install commands in Dockerfiles

Open
#522 0 comments 0 reactions 1 assignee View on GitHub

@hardillb is already working on this.

Since Jun 9, 2026.

Assessment

This issue has not been assessed yet.

Description

#33 274.1 npm warn config only Use `--omit=dev` to omit dev dependencies from the install.
#33 276.5 npm warn Unknown cli config "--unsafe-perm". This will stop working in the next major version of npm.

https://github.com/node-red/node-red-docker/actions/runs/27196366220/job/80288924629#step:10:2786

Dominant language
Shell
Stars
540
Forks
434
Avg merge
24m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from node-red/node-red-docker

All issues in node-red/node-red-docker

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.