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
{{ message }}
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.
I get an error message by node-gyp telling me that the user is undefined:
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/1.1.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/pm2-web/node_modules/mdns2/.node-gyp"
How do I fix that?
The text was updated successfully, but these errors were encountered:
Those errors you listed are only warnings (although bizarre) and it appears it succeeds in installing to the temp directory.
I believe the thread you link to indicates the same thing.
After an apt-get install libavahi-compat-libdnssd-dev the build succeeds and pm2-web does start, although it throws some concerning errors about v8 while running node-gyp for mdns2. It looks like mdns2 expects a specific version of v8.
Interestingly enough, it appears that some of pm2-web's deps want node 0.8.X while others require =>.10. Running on node:0.8 fails, but running on node:0.10 appears to succeed.
mdns2 requires the version of v8 that shipped with node v0.10. You must run this package on node v0.10 in order for it to compile correctly.
Basically, this is the same issue as nodejs/docker-node#10:
When I run the container
iojs:1.1.0
usingand then inside if the container run
I get an error message by node-gyp telling me that the user is
undefined
:How do I fix that?
The text was updated successfully, but these errors were encountered: