ashirt-server icon indicating copy to clipboard operation
ashirt-server copied to clipboard

Fix npm install error

Open TylerNoblett opened this issue 2 years ago • 0 comments

When running npm install, one of our dev-dependencies (@testing-library/[email protected]) uses an older version of react's types library (^16.9.0 || ^17.0.0"), but we are using ^18.0.18, so npm errors out.

There is one frontend test that uses this library, but this test hasn't been used by me or the previous maintainer, and it doesn't seem that the frontend is even set up (via npm scripts / installed packages) a way to test this file. I've commented out the test, and removed the offending library, so that running npm install runs smoothly.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

TylerNoblett avatar Oct 11 '22 14:10 TylerNoblett