-----------------------------------------------
Use --unsafe-perm=true
and --allow-root
flags with npm
install like below:-
sudo npm install -g eslint --unsafe-perm=true --allow-root
it worked like charm for me.
2024-01-26 09:38:46
-----------------------------------------------
Use --unsafe-perm=true
and --allow-root
flags with npm
install like below:-
sudo npm install -g eslint --unsafe-perm=true --allow-root
it worked like charm for me.
下一篇:centos中find的用法