-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] Cannot upgrade to NPM 8 because npm is trying to chown my antivirus #4158
Comments
Try with
|
i'm having the same problem,
i really need help with that since i'm unable to upgrade npm OS is macOS: 11.2.3 |
Facing the same problem.
|
I've managed to solve it by uninstalling and reinstalling node that upgraded npm. |
same issue |
When I install truffle, I also meet this problem. I can't solve it directly, so I install the package local and set the global variable.
It installed successfully in my local directory. Then set the global variable.
I think the effect is same with 'npm install truffle -g' |
Facing same issue. Any workaround ? |
why is npm trying to change ownership of files it didn't install? |
Got it working. This problem occurs when angular is installed in global mode using the “-g” option. Workaround : install angular/cli in local mode using "sudo npm install @angular/cli" |
@svalluru 1000% do NOT install anything locally with |
Closing as a duplicate of #4010 |
There is an rrfc open for this npm/rfcs#546 |
When I try to upgrade npm via the suggested method in the console:
npm install -g [email protected]
it fails with the following error:
When I try to run it with
sudo
:sentinelctl
is control panel for Sentinel One antivirus, I guess its one of their security measures to make it not chown-able.OS: OSX 11.6.1
npm --version
7.20.3
The text was updated successfully, but these errors were encountered: