Error:Node.js - > npm

I want to install mocha with npm globally:


I have tried to fix it for 3 hours :anguished::anguished:, help me,please.

8 days with no reply, hope you have this sorted.
If not, I notice that your Windows username is unusual, suggesting that this may be a ‘work’ machine administered by someone else.
Do you have permission to create a folder there, or is there an administrative policy in place that prevents it?
Also, if you just try to install in the project root folder does that work? (npm i mocha without the -g for global).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.