Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install error #58

Open
nkbeldar opened this issue Nov 28, 2019 · 4 comments
Open

npm install error #58

nkbeldar opened this issue Nov 28, 2019 · 4 comments

Comments

@nkbeldar
Copy link

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

@ibuli
Copy link

ibuli commented Nov 28, 2019

+1 facing the same issue on windows.

@YuliaGrigorieva
Copy link
Contributor

Hello!

If you use windows, please remove this line:

"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",

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

Best regards,
Yulia Grigorieva

@shanidoger11
Copy link

i also facing same issue

@shanidoger11
Copy link

do you have any possible solution please share it thank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants