question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error During npm install

See original GitHub issue

Hi, 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:closed
  • Created 6 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ArcadeRenegadecommented, May 2, 2017

@aneesv thanks that worked. forked the repo, applied the fix, then npm-installed from my fork repo.

0reactions
ArcadeRenegadecommented, Sep 23, 2017

that works! thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common errors | npm Docs
SSL Error · upgrade your version of npm npm install npm -g --ca="" · tell your current version of npm to use known...
Read more >
npm install error from the terminal - Stack Overflow
Running just "npm install" will look for dependencies listed in your package.json. The error you're getting says that you don't have a ...
Read more >
NPM install error - Material Design for Bootstrap
Delete node_modules folder and package-json.lock · Then run npm i · If problem still exists repeat point 1 and go to 4 point...
Read more >
How to solve npm ERR! code 1 when running npm install
Fix npm error code 1 by updating your dependencies · Update one package version in package.json file · Then run npm install ·...
Read more >
How to Solve the Angular NPM Error - C# Corner
The error in NPM, 'error package install failed, see above', can occur when the user creates a new project in Angular using Node.js...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found