You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading NodeJS to the latest (0.10.35), I was unable to run the install script due to node-gyp permission errors, even after running as root. I don't know what the root cause of this problem is, but it seems to be affecting quite a lot of people: nodejs/node-gyp#454
This can't really be a permission problem, as this is fresh install and I tried creating/recreating the node-gyp directory itself and setting full read/write permissions on it, so just a heads up for anyone else running in to this.
The fix, for me at least, was to modify the countly.install.sh script (line 73) by appending '-unsafe-perm' to the npm line, like so: npm install time --unsafe-perm
The text was updated successfully, but these errors were encountered:
Interesting, it seems to be building correctly on Travis.
Either way --unsafe-perm seems to allow execute npm install with root permission, so will try to add them just in case
After upgrading NodeJS to the latest (0.10.35), I was unable to run the install script due to node-gyp permission errors, even after running as root. I don't know what the root cause of this problem is, but it seems to be affecting quite a lot of people: nodejs/node-gyp#454
This can't really be a permission problem, as this is fresh install and I tried creating/recreating the node-gyp directory itself and setting full read/write permissions on it, so just a heads up for anyone else running in to this.
The fix, for me at least, was to modify the countly.install.sh script (line 73) by appending '-unsafe-perm' to the npm line, like so: npm install time --unsafe-perm
The text was updated successfully, but these errors were encountered: