Sentry Module failed install permission deined on centOS

mandaputtra
0
mandaputtra
commented 2 years ago

Version

3.0.1

Reproduction link

https://jsfiddle.net/nofiddle

Steps to reproduce

Hi, I'm using CentOS here (VPS) on digital ocean, whenever I install this module with npm ci or npm i always failed, the message was permission denied.

Error: EACCES: permission denied, copyfile '/root/.npm/sentry-cli/e2bf76-sentry-cli-Linux-x86-64' -> '/var/www/project/html/project/node_modules/@sentry/cli/sentry-cli'

However I chmod al those folders but still, same permission denied. Any advice?

my chmod command :

$ chmod -R 777 /root/.npm/
$ chmod -R  777 /var/www/project/html/project/

What is expected ?

Project install without errors happens so sentry module could be used in nuxt

What is actually happening?

sentry module won't installed

Additional comments?

I'm using CentOS / Ubuntu too on development, but its install without a problem

bug
0
mandaputtra
0
mandaputtra
commented a year ago

I'll just close this issue since Nuxt module for sentry aren't quite what I want since I'm using generate mode thanks all ๐Ÿ˜„

0
Informations
Bug Report โ€ข Open
#c72 - Created 2 years ago