Closed dbankier closed 1 year ago
It's up to you. Works for me and I don't use studio.
@dbankier What operating system are you on? What version of Node.js? This needs to work on Node.js 0.8, 0.10 on Mac and Linux. I'm just concerned about the permissions. Even if you run "npm install" as sudo, npm will still setuid to nobody.
osx
0.10
The reason it worked for me was I was using nvm and don't install modules with sudo
. Can still work with --unsafe-perm
flag. Close/reject if you like.
Cool. I haven't forgotten about this PR. I just haven't had time to investigate. :)
Hmm, not sure we can do this. "scripts" are run as "nobody" which means that calling "ti config" will be run as "nobody" and "nobody" has access to your home directory, namely ~/.titanium/config.json. I think that Studio automatically calls the tools/install script after npm installing the module.