Skip to content

Remove deprecated unsafe-perm setting from .npmrc#8317

Merged
pubkey merged 1 commit intomasterfrom
copilot/fix-first-warning-in-build
Apr 10, 2026
Merged

Remove deprecated unsafe-perm setting from .npmrc#8317
pubkey merged 1 commit intomasterfrom
copilot/fix-first-warning-in-build

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 9, 2026

Problem

Running npm install or npm run build produces the following warning on every invocation:

npm warn Unknown project config "unsafe-perm". This will stop working in the next major version of npm.

This warning appears repeatedly during the build because each sub-command also triggers it, resulting in many lines of noise in the output.

Fix

Removed the deprecated unsafe-perm = true line from .npmrc. This setting is no longer recognized by modern npm versions and has no effect. The remaining .npmrc settings (package-lock=false and save-exact=true) are unaffected.

Verification

  • npm install produces zero warnings
  • npm run build completes with zero warnings
  • npm run lint passes
  • npm run check-types passes

@pubkey
Copy link
Copy Markdown
Owner

pubkey commented Apr 10, 2026

@copilot run "npm run docs:build" and fix it

@pubkey pubkey marked this pull request as ready for review April 10, 2026 06:13
@pubkey pubkey merged commit 88e8d14 into master Apr 10, 2026
23 of 25 checks passed
Copilot stopped work on behalf of pubkey due to an error April 10, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants