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

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

Deploying a static website efficiently on Google Cloud Storage