Skip to content

Fix: Alternative solution for npm EACCES error on Ubuntu 26.04 - #161

Open
Ebimsv wants to merge 1 commit into
ed-donner:mainfrom
Ebimsv:fix/npm-eacces-ubuntu-vercel
Open

Fix: Alternative solution for npm EACCES error on Ubuntu 26.04#161
Ebimsv wants to merge 1 commit into
ed-donner:mainfrom
Ebimsv:fix/npm-eacces-ubuntu-vercel

Conversation

@Ebimsv

@Ebimsv Ebimsv commented Jul 14, 2026

Copy link
Copy Markdown

Summary

Added a community contribution with an alternative solution for the EACCES permission error when running npm install -g vercel on Ubuntu 26.04.

Problem

Following the Day 1 tutorial, the command npm install -g vercel fails with:

npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/local/lib/node_modules

Solution

Using npx vercel instead of npm install -g vercel bypasses the global installation permission issue.

Changes

  • Added community_contributions/npm-eacces-fix-ubuntu/npx-alternative-solution.md

Tested On

  • OS: Ubuntu 26.04
  • Node.js: 22.22.1

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.

1 participant