Installing ios-sim for Cordova

$ sudo npm install -g ios-sim

always gave me the following message:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied.

Solution was to add  --unsafe-perm

$ sudo npm install -g --unsafe-perm  ios-sim

Popular posts from this blog

Soving AccessDenied on Google Cloud Storage domain mapping

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu