开启--allow-root选项:
--allow-root
[root@izj6c2qzxzsynoy4r3o8xkz src]# npm install --unsafe-perm=true --allow-root
全栈工程师