Installing fails with "opencollective-postinstall: command not found"
See original GitHub issueJust tried to install node-cron from npm, but couldn’t. Here’s the complete console output:
npm i node-cron
> node-cron@2.0.2 postinstall /Users/johndoe/dev/home/home-server-nodejs/node_modules/node-cron
> opencollective-postinstall
sh: opencollective-postinstall: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! node-cron@2.0.2 postinstall: `opencollective-postinstall`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the node-cron@2.0.2 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! /Users/johndoe/.npm/_logs/2018-10-09T20_27_48_949Z-debug.log
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:19 (3 by maintainers)
Top Results From Across the Web
opencollective-postinstall - npm
Lightweight npm postinstall message to invite people to donate to your collective. Latest version: 2.0.3, last published: 3 years ago.
Read more >npm install PATH for postinstall scripts on Jenkins
sh: 1: opencollective: not found npm WARN optional SKIPPING OPTIONAL ... Failed at the commitizen@2.10.1 postinstall script. npm ERR!
Read more >opencollective-postinstall | Yarn - Package Manager
Lightweight npm postinstall message to invite people to donate to your collective. opencollective ... npm install --save opencollective-postinstall.
Read more >Installing fails on Windows #278 - Issuehunt
npm fails with the following message: 'opencollective-postinstall' is not recognized as an internal or external command, operable program or batch file.
Read more >Opencollective-postinstall NPM
Installation. npm install --save opencollective-postinstall. And in your package.json add: { ..
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still seems to be an issue in v2.0.3
Been able to work around it by manually installing opencollective-postinstall first. So I guess it’s just missing in your dependencies.