groupon / assertive

Assertive is a terse yet expressive assertion library
BSD 3-Clause "New" or "Revised" License
21 stars 11 forks source link

yarn not supported #46

Open EndangeredMassa opened 5 years ago

EndangeredMassa commented 5 years ago

This module cannot be installed by yarn after 3.0.0.

error assertive@3.1.0: The engine "yarn" is incompatible with this module. Expected version "0.0.0". Got "1.17.3" error Found incompatible module.

This is because the package.json's engines section expects yarn to be version 0.0.0 instead of an actual range of support.

EndangeredMassa commented 3 years ago

This can be worked around by using the --ignore-engines flag in yarn commands. You can set this in a .yarnrc as well.

.yarnrc:

--ignore-engines true