3

I'm trying to install the ios-sim module without root access (for PhoneGap).
I keep getting "missing ios-sim" even after installing it without the -g flag in the application folder.
(I don't have root access to the machine)

Any way of making it work without root access ?

Asaf
  • 8,106
  • 19
  • 66
  • 116

1 Answers1

0

It comes down to two options:

  1. installing node.js somewhere your user can write to, or set up your system to install global npm modules in your $HOME
  2. install ios-sim locally somewhere and add that to your $PATH. For instance:
    cd ~ && npm install ios-sim then add ~/node_modules/.bin to your $PATH
Community
  • 1
  • 1
Devgeeks
  • 5,659
  • 4
  • 28
  • 35