Skip to content

Commit 70ef36e

Browse files
author
Abhimanyu Siwach
committed
feat: add npm cache ownership preflight check
Detect root-owned files in ~/.npm before running npm install. A previous `sudo npm install` leaves root-owned cache files that cause EACCES permission errors on subsequent installs. The check runs in both the create and deploy preflight paths, and gives users the exact fix command (sudo chown -R $(whoami) ~/.npm). Skipped on Windows. Also fixes rollup high severity vulnerability (GHSA-mw96-cpmx-2vgc).
1 parent ca5644f commit 70ef36e

4 files changed

Lines changed: 239 additions & 103 deletions

File tree

package-lock.json

Lines changed: 103 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)