This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
warn/throw on mismatched engine/platform all the time, not only for newly added modules #134
Labels
Milestone
See npm/rfcs#195
checkEngine()
/checkPlatform()
inlib/arborist/reify.js
, but only for nodes being added to the tree inreifyNode()
.loadActual
andloadVirtual
, so that we can warn when we're initially building the tree, or put it inbuildIdealTree
since we only care about it when we're going to be modifying stuff? (Ie, shouldnpm ls
warn about it? Shouldnpm ls --engines-strict
fail entirely and not even show a tree?)buildIdealTree()
decide to throw if there are any engine mismatches andoptions.enginesStrict
is true.The text was updated successfully, but these errors were encountered: