anchor.diff:      mv node-* $out
     '';
   
  +  # Script that adds _integrity fields to all package.json files to prevent NPM from consulting the cache (that is empty)
     addIntegrityFieldsScript = writeTextFile {
       name = "addintegrityfields.js";
       text = ''
  
positive.code:           export HOME=$PWD
  
            ${stdenv.lib.optionalString bypassCache ''
              node ${addIntegrityFieldsScript}
            ''}
  
  
negative.code:         runHook preRebuild
  
          ${stdenv.lib.optionalString bypassCache ''
            if [ ! -f package-lock.json ]
            then
                echo "No package-lock.json file found, reconstructing..."
                node ${reconstructPackageLock}
            fi
  
            node ${addIntegrityFieldsScript}
          ''}
  
  