Error During npm install
See original GitHub issueHi, I get an error when trying to install this package using npm. Seems a post-install .sh script is failing.
OS: Windows 10 Node: v6.10.0 npm: v3.10.10
202 verbose stack Error: react-native-razorpay@1.2.0 postinstall:
./download_ios_framework.sh
202 verbose stack Exit status 1 202 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16) 202 verbose stack at emitTwo (events.js:106:13) 202 verbose stack at EventEmitter.emit (events.js:191:7) 202 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14) 202 verbose stack at emitTwo (events.js:106:13) 202 verbose stack at ChildProcess.emit (events.js:191:7) 202 verbose stack at maybeClose (internal/child_process.js:877:16) 202 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 203 verbose pkgid react-native-razorpay@1.2.0 204 verbose cwd C:\Users.…\Documents\Visual Studio 2017\Projects\ReactNativeTest\ReactNativeTest 205 error Windows_NT 10.0.14393 206 error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “i” “react-native-razorpay” “–save” 207 error node v6.10.0 208 error npm v3.10.10 209 error code ELIFECYCLE 210 error react-native-razorpay@1.2.0 postinstall:./download_ios_framework.sh
210 error Exit status 1 211 error Failed at the react-native-razorpay@1.2.0 postinstall script ‘./download_ios_framework.sh’. 211 error Make sure you have the latest version of node.js and npm installed. 211 error If you do, this is most likely a problem with the react-native-razorpay package, 211 error not with npm itself. 211 error Tell the author that this fails on your system: 211 error ./download_ios_framework.sh 211 error You can get information on how to open an issue for this project with: 211 error npm bugs react-native-razorpay 211 error Or if that isn’t available, you can get their info via: 211 error npm owner ls react-native-razorpay 211 error There is likely additional logging output above. 212 verbose exit [ 1, true ]
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (2 by maintainers)
@aneesv thanks that worked. forked the repo, applied the fix, then npm-installed from my fork repo.
that works! thanks.