-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fail to build nsfw with node-gyp on Ubuntu #109
Comments
The issue happens when trying to install Theia IDE dependencies. A workaround is proposed here: eclipse-theia/theia#7510 |
Aha, looks like ThreadSafeFunction is only available in >=10.16.0. I can do a rerelease with 1.2.9 being only patches (no n-api changes). I will also do a 2.0.0 release that limits the engines to >10.16.0 w/ the napi changes. |
Thanks, your explanation makes sense. I don't think it's worth doing a special release for this because:
Therefore I think it's just a transcient issue. For the records, the workaround is to add the following to the
|
Solution: Use 1.2.9 pre 10.16.0. Leverage 2.0.0 when your dependency chain has updated. Also, I highly recommend leveraging |
Thanks @implausible |
Problem description
In my CI build, yarn install was working properly until yesterday where is started to throw an error while building
nsfw
withnode-gyp
at step 4 of the yarn install.Based on the traceback, it seems there are errors in the NSFW C++ code.
Take note that install works fine in MacOS, the issue is only reproducible on Linux Ubuntu.
I have also opened a similar issue on the Yarn Github repo: yarnpkg/yarn#8046
Can you please advise?
Traceback
The text was updated successfully, but these errors were encountered: