Mac 终端执行 node-v 报错
Process: node [32049]
Path: /Users/USER/*/node
Identifier: node
Version: ???
Code Type: X86-64 (Native)
Parent Process: zsh [12735]
Responsible: Terminal [1349]
User ID: 501
Date/Time: 2024-11-11 09:11:25.5771 +0800
OS Version: macOS 14.5 (23F79)
Report Version: 12
Bridge OS Version: 8.5 (21P5077)
Anonymous UUID: ********-****-****-****-************
Sleep/Wake UUID: ********-****-****-****-************
Time Awake Since Boot: 15000 seconds
Time Since Wake: 772 seconds
System Integrity Protection: disabled
Crashed Thread: 1
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000106b74ff8
Exception Codes: 0x0000000000000002, 0x0000000106b74ff8
Termination Reason: Namespace SIGNAL, Code 10 Bus error: 10
Terminating Process: exc handler [32049]
VM Region Info: 0x106b74ff8 is in 0x106b74000-0x106b75000; bytes after start: 4088 bytes before end: 7
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC metadata 106b6d000-106b74000 [ 28K] rw-/rwx SM=SHM
---> VM_ALLOCATE 106b74000-106b75000 [ 4K] r-x/rwx SM=PRV
VM_ALLOCATE 106b75000-106b76000 [ 4K] rw-/rwx SM=PRV
[经过版主编辑]
MacBook Pro 13″, macOS 11.3