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.

Getting 'opencollective-postinstall' is not recognized as an internal or external command while installing 'react-native-elements'

See original GitHub issue

react-native-elements@1.0.0 postinstall F:....\node_modules\react-native-elements opencollective-postinstall

‘opencollective-postinstall’ is not recognized as an internal or external command, operable program or batch file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-native-elements@1.0.0 postinstall: opencollective-postinstall npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-native-elements@1.0.0 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:.…\npm-cache_logs\2019-02-08T10_07_06_547Z-debug.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

6reactions
dhiazfathracommented, Mar 20, 2019

The solution is as trivial as it sounds.

npm install --save opencollective-postinstall

In my case I somehow need to install it globally. Works.

npm i -g opencollective-postinstall

4reactions
user0604commented, Mar 16, 2019

The solution is as trivial as it sounds.

npm install --save opencollective-postinstall

Read more comments on GitHub >

github_iconTop Results From Across the Web

'react-native' is not recognized as an internal or external ...
Solution that worked for me is to install react-native-cli globally You can install it globally by using the below command: npm install -g...
Read more >
npm install: "sh: opencollective-postinstall: command not found"
Ran "npm i react-native-elements --save" on a Mac for installation. Got the output shown below. Should I be concerned? `$ npm i react-native-elements...
Read more >
'react-native' is not recognized as an internal or external ...
This error shows that react-native is not recognized because npm couldn't found react-native in local project. Solution. Install dependencies with yarn or npm:...
Read more >
Fix react scripts is not recognized as an internal or ... - YouTube
This video shows, how to fix below issuereact-scripts is not recognized as an internal or external command,commandnpm i -g react-scripts.
Read more >
A command is not recognized as an internal or external ...
In this tutorial, we will help you troubleshoot the issue when any command is not recognized as an internal or external command, ...
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