About solving the problem of Error: EACCES: permission denied, mkdir
The main reason for this problem is that the permissions of the node installation directory are insufficient. Find the node installation path.
If your installation directory does not have the two files node_cache and node-global, you can use Baidu. (Modify node_cache and node-global to the installation directory through commands)
Click Edit to modify permissions
It is best for Users to also modify their permissions
After the modification is completed, no error will be reported when executing npm install in the future.