Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EACCES: permission denied with sudo in Ubuntu #156

Open
TheBestOrNothing opened this issue Mar 16, 2024 · 0 comments
Open

EACCES: permission denied with sudo in Ubuntu #156

TheBestOrNothing opened this issue Mar 16, 2024 · 0 comments

Comments

@TheBestOrNothing
Copy link

sudo npm install -g @rocket.chat/apps-cli

[email protected] postinstall /usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/esbuild
node install.js

Trying to install "esbuild-linux-64" using npm
Failed to install "esbuild-linux-64" using npm: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/esbuild/esbuild-qssd7mdeech'
Trying to download "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.12.29.tgz"
/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/esbuild/install.js:198
throw e;
^

Error: EACCES: permission denied, open '/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/esbuild/bin/esbuild__'
at Object.openSync (fs.js:498:3)
at Object.writeFileSync (fs.js:1529:35)
at installBinaryFromPackage (/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/esbuild/install.js:61:6)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/usr/local/lib/node_modules/@rocket.chat/apps-cli/node_modules/esbuild/bin/esbuild__'
}

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

No branches or pull requests

1 participant