We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb9d50 commit 09ad624Copy full SHA for 09ad624
workspaces/arborist/lib/arborist/build-ideal-tree.js
@@ -194,7 +194,7 @@ module.exports = cls => class IdealTreeBuilder extends cls {
194
async #checkEngineAndPlatform () {
195
const { engineStrict, npmVersion, nodeVersion } = this.options
196
for (const node of this.idealTree.inventory.values()) {
197
- if (!node.optional) {
+ if (!node.optional && !node.extraneous) {
198
try {
199
// if devEngines is present in the root node we ignore the engines check
200
if (!(node.isRoot && node.package.devEngines)) {
0 commit comments