Error code:
events.js:291
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! code ELIFECYCLE
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:
Solution:
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; https://github.com/umijs/umi/issues/2769
Read More:
- Using UMI plugin keep alive to realize keep alive state storage in UMI Ant Design
- Error messages of copying files to Linux system by PSCP in Windows operating system
- [solution] the system is running in low graphics mode
- Windows 7 system update failed – WindowsUpdate_ 800B0100
- Root password of windows 10 WSL Ubuntu system
- Research on Maven management of Java project pom.xml The jar package error is reported, but the project is running normally
- Solution to display CPU over voltage error when Windows system starts
- Some solutions to the problem of windows flashback after vs running
- Hololens2 reported an error. Microsoft.windows.system is missing
- Running course of Kafka in Windows Environment
- Windows batch: File running in the background
- Windows command to start MySQL “system error 5”
- Solution to the flash back, error report and unexpected exit of idea MAC windows
- Visual studio 2012, a complete collection of solutions to flash back windows after running
- Halo blog system reports log error when idea is running
- There is no windows solution in dual system Ubuntu grub startup
- EEROR:Windows named pipe error: The system cannot find the file specified. (code:2)
- Windows 10 startup item repair an operating system was’t found solution
- Windows 7 system, start to run input CMD, the window flashed by, disappeared
- Record of solving the failure of installing ie11 (9c59) under 64 bit Windows 7 system