'opencollective' is not recognized as an internal or external command, operable program or batch file.
See original GitHub issueI think it’s awesome to be opting in to opencollective, but while installing level, I ran into things that weren’t very user-friendly.
First, I had to install it under an administrator powershell (or command prompt I suppose would work). I don’t recall ever having to do that on a project-level installation for node. Once I’d done that, I got the error that opencollective wasn’t recognized as a program. So I had to npm i -g opencollective
just to be able to be told “thanks for using level! please donate!”
It seems a little counterintuitive to require a global installation of a module just to request donations after the package is installed - otherwise the package just doesn’t install because it fails on postinstall.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
npm install from mac project creates command not found issue
The '.' is not recognized as an internal or external command error usually has something to do when the computer can't find the...
Read more >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 >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. 'true' ...
Read more >opencollective-postinstall | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >Getting Started — Eleventy
Installing Eleventy into our project requires a package.json file. Let's create it with npm init . The -y parameter tells npm to skip...
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 FreeTop 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
Top GitHub Comments
Install npm i -g opencollective. Then install npm install --save opencollective-postinstall
its work for me
@ralphtheninja is right, npm isn’t tryint to install this tool locally for you, it will install it into
./node_modules/.bin/
and call it from there.You see, this is the particular file that npm complains about not being able to rename:
D:\home\devel\enmap-level\node_modules\wrappy\package.json
.We can’t help debug npm setups here unfortunately, please create an issue at https://github.com/npm/npm.