Posts

Showing posts from March, 2015

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