-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install in postinst fails when having native library dependency #88
Comments
Just for clarification, does this mean that |
Running
|
Fixing native library dependency issue #88
Closed by #89 |
I'm about to create a debian package for wetty that has a native library dependency. This needs to be recompiled with
node-gyp
but it has a known installation issue when callingnpm install
as root. The issue with a solution is described here: nodejs/node-gyp#454 or nodejs/node-gyp#1383To fix the issue the
--unsafe-perm
option should be used.In detail
I created a debian package with the following:
When I tried to install, I got the following error (aborted manually due to infinite loop)
After adding the
--unsafe-perm
option tonpm install
(at thepostinst
template), I installed the package successfully:The text was updated successfully, but these errors were encountered: