Error report of windows system running UMI project

Error code:

      throw er; // Unhandled 'error' event

TypeError: Cannot mix BigInt and other types, use explicit conversions
    at FSWatcher._hasReadPermissions (C:\Users\3123\node_modules\chokidar\index.js:775:36)
    at WatchHelper.filterPath (C:\Users\3123\node_modules\chokidar\index.js:191:16)
    at ReaddirpStream.fileFilter [as _fileFilter] (C:\Users\3123\node_modules\chokidar\lib\nodefs-handler.js:405:29)
    at ReaddirpStream._read (C:\Users\3123\node_modules\readdirp\index.js:141:85)
Emitted 'error' event on FSWatcher instance at:
    at FSWatcher._handleError (C:\Users\3123\node_modules\chokidar\index.js:592:10)
    at ReaddirpStream.NodeFsHandler._boundHandleError (C:\Users\3123\node_modules\chokidar\lib\nodefs-handler.js:252:43)
    at ReaddirpStream.emit (events.js:314:20)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
npm ERR! errno 1

npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] qa script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.    

npm ERR! A complete log of this run can be found in: 

Enter node_ Modify the 775 line of the modules/chokidar/index.js file as follows

Stats.mode is bigint, when using & amp; This error will be reported when adding parseInt (stats. Mode)

_hasReadPermissions(stats) {
if (this.options.ignorePermissionErrors) return true;

const st = (stats && parseInt(stats.mode)) & 0o777;
const it = parseInt(st.toString(8)[0], 10);
return Boolean(4 & it);

“26696;” 332581;

Read More: