@aliabuarab try running npm config set unsafe-perm true first
Aug 21, 2021
3
Level 1
EACCES: permission denied, mkdir '/root/.npm/sentry-cli'
System: Ubunut 20.04 Node: v14.17.5 NPM: 7.20.6
I'm trying to install the nuxt sentry module but getting this error message:
npm ERR! code 1 npm ERR! command failed npm ERR! command sh -c node scripts/install.js npm ERR! info sentry-cli Downloading from https://downloads.sentry-cdn.com/sentry-cli/1.68.0/sentry-cli-Linux-x86_64 npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/sentry-cli'
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-08-21T10_04_03_979Z-debug.log
Please or to participate in this conversation.