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

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

Simple Samba setup on Lubuntu

Solving: insufficient permissions for device: user in plugdev group; are your udev rules wrong