diff --git a/lib/arborist/build-ideal-tree.js b/lib/arborist/build-ideal-tree.js index 899d92ca9..3d9fb645b 100644 --- a/lib/arborist/build-ideal-tree.js +++ b/lib/arborist/build-ideal-tree.js @@ -738,7 +738,8 @@ This is a one-time fix-up, please be patient... : version || `file:${node.path}` const spec = npa.resolve(name, id, dirname(path)) const sloc = location.substr('node_modules/'.length) - const t = `idealTree:inflate:${sloc}` + const rand = Math.random() + const t = `idealTree:inflate:${sloc}:${rand}` this.addTracker(t) await pacote.manifest(spec, { ...this.options,