尝试在本地控制台(即ElasticSearch)中的macOS蒙特雷12.4上使用搜索踢( Model.reindex)会导致以下错误:
ETHON: Libcurl initialized
objc[36397]: +[NSNumber initialize] may have been in progress in another thread when fork() was called.
objc[36397]: +[NSNumber initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.发布于 2022-08-05 04:11:42
请参阅https://stackoverflow.com/a/52230415/1276696
在.bash_profile中添加以下行并重新启动终端:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY="YES"
https://stackoverflow.com/questions/73244573
复制相似问题