react-native-demo icon indicating copy to clipboard operation
react-native-demo copied to clipboard

npm install error

Open nkbeldar opened this issue 5 years ago • 4 comments

i can install npm but this error will be genrate.

'sed' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: sed -i '' 's/\/Core//g' ./node_modules/react-native-voip-push-notification/RNVoipPushNotification.podspec; sed -i '' 's/\/Core//g' ./node_modules/react-native-callkeep/RNCallKeep.podspec npm ERR! Exit status 1 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.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\davea\AppData\Roaming\npm-cache_logs\2019-11-28T05_24_59_147Z-debug.log

nkbeldar avatar Nov 28 '19 05:11 nkbeldar

+1 facing the same issue on windows.

ibuli avatar Nov 28 '19 18:11 ibuli

Hello!

If you use windows, please remove this line: https://github.com/voximplant/react-native-demo/blob/e36c4c4857382118c465ed0c7ae031ad9e2f220e/package.json#L7

This line introduce a workaround for third-party dependencies that are used in the demo project for iOS platform.

Best regards, Yulia Grigorieva

YuliaGrigorieva avatar Dec 03 '19 09:12 YuliaGrigorieva

i also facing same issue

shanidoger11 avatar Jul 06 '22 12:07 shanidoger11

do you have any possible solution please share it thank

shanidoger11 avatar Jul 06 '22 12:07 shanidoger11