Can\'t install the node-sass package via npm sudo npm i, i have been trying to resolve via sudo npm i -g node-sass --unsafe-perm=true --allow-root but
sudo npm i
sudo npm i -g node-sass --unsafe-perm=true --allow-root
Do nothing .. simply add --unsafe-perm to it
--unsafe-perm
Give it unsafe permission access.
So, let's say.. if you were previously installing bcrypt library
sudo npm install --save bcrypt
then now write
sudo npm install --unsafe-perm --save bcrypt
And you are done.