-
Notifications
You must be signed in to change notification settings - Fork 2.7k
node-gyp bug - yarn, as included in official docker node image, fails to install get-cursor-position #2828
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
Comments
I have the same bug.
With |
Duplicate of #2266. A workaround for now is to run |
Even though sometimes this approach won't going to fully work, i've tested the solution over yarn 0.24.6 my solution was to replace bcrypt for bcryptjs same package, same methods and behaviour last one is more js compatible without any dependencies, and it works flawlessly over docker ! Hope this helps people with same issue. |
This is often not desirable as the version using native code can use dedicated threads to calculate the bcrypt hash whereas the JS version cannot. |
https://github.com/mattkime/get-cursor-position-fail/
Running
docker build .
from the repo directory results in -Modify Dockerfile to use npm instead and it works fine.
Please mention your node.js, yarn and operating system version.
The official docker images, verified in both v7.6 and v7.7.1. Both use yarn v0.21.3
The text was updated successfully, but these errors were encountered: