当我试图安装一个天赋聊天UI包,它是返回给我一个错误,它不存在。你能帮我解决这个问题吗?
ver:0.61
C:\Users\XXXX\Desktop\AProject>npm i react-native-gifted-chat npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/EvanBacon/react-native-parsed-text.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\XXXXX\AppData\Roaming\npm-cache\_logs\2019-10-17T05_42_35_768Z-debug.log
发布于 2019-10-24 02:32:07
你必须使用git bash安装天才聊天。我已经在这里回答了这个问题。
https://github.com/FaridSafi/react-native-gifted-chat/issues/1444
安装git,然后从git控制台安装电子聊天。
https://stackoverflow.com/questions/58426078
复制相似问题