我想在react js上为我的项目使用chatkit api,所以我尝试安装chatkit api,但是出现一些错误。
我使用了命令npm install @ pusher / chatkit
我收到以下错误。
PS C:\ Users \ admin> cd chat-app1 PS C:\ Users \ admin \ chat-app1> npm install pusher / chatkit npm ERR!路径git npm ERR!代码ENOENT npm ERR! errno ENOENT npm ERR! syscall生成git npm ERR! enoent执行时出错: npm ERR! enoent未定义ls-remote -h -t ssh://git@github.com/pusher/chatkit.git npm ERR!天生的 npm ERR!天生的 npm ERR! enoent生成git ENOENT npm ERR! enoent这与npm无法找到文件有关。 npm ERR!先天
npm错误!可以在以下位置找到此运行的完整日志: npm ERR! C:\ Users \ admin \ AppData \ Roaming \ npm-cache_logs \ 2019-06-13T09_57_20_116Z-debug.log PS C:\ Users \ admin \ chat-app1>