安装模块中的本机PJSIP本地错误

问题描述 投票:0回答:1

我尝试在我的本机项目中安装模块PJSIP。

URL:https://www.npmjs.com/package/react-native-pjsip

但是我遇到了错误。

> [email protected] postinstall /Users/saty/react-native-pjsip
> bash libs.sh

npm WARN [email protected] requires a peer of react-native@>=0.55 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.6.2 but none is installed. You must install peer dependencies yourself.
npm WARN The package react is included as both a dev and production dependency.

npm ERR! code ELIFECYCLE
npm ERR! errno 23
npm ERR! [email protected] postinstall: `bash libs.sh`
npm ERR! Exit status 23
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
react-native npm-install sip voip pjsip
1个回答
0
投票

错误23通常是网络问题。如果您看一下脚本,它将尝试从存储库中下载软件包2.8.0,但是该存储库没有任何已发布的发行版,因此这就是失败的原因。您应该与所有者联系,创建问题或使用其他模块。

© www.soinside.com 2019 - 2024. All rights reserved.