Skip to content

Installing testcontainers requires a lot of build tools #287

Answered by cristianrgreco
armen-ch asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @armen-ch

I've run an npm list and I see we're pulling in cpu-features as a dependency of ssh2. Looking at the ssh2 docs:

cpu-features is set as an optional package dependency (you do not need to install it explicitly/separately from ssh2) that will be automatically built and used if possible. See the project's documentation for its own requirements.
This addon is currently used to help generate an optimal default cipher list

I think then when you run your build, you can do npm ci --no-optional to skip it?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@armen-ch
Comment options

Answer selected by armen-ch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants