`npm install` fails for react-final-form@3.1.1
See original GitHub issueAre you submitting a bug report or a feature request?
bug report
What is the current behavior?
npm install react-final-form
fails for version 3.1.1
npm install react-final-form
works for version 3.1.0
Error message
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! react-final-form@3.1.1 postinstall: `opencollective postinstall`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the react-final-form@3.1.1 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! /home/breanna_bunge/.npm/_logs/2018-02-27T22_59_06_062Z-debug.log
Believe the issue is that opencollective is a dev dependency and so I don’t have that command on my system when I install react-final-form.
https://github.com/final-form/react-final-form/pull/149#issuecomment-369059500
What is the expected behavior?
npm install react-final-form
installs successfully
Sandbox Link
N/A
What’s your environment?
react-final-form@3.1.1 npm version: 5.6.0 node version: v8.9.1
Other information
Post install script introduced by this PR: https://github.com/final-form/react-final-form/pull/149
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:17 (6 by maintainers)
Top Results From Across the Web
How to solve npm install error “npm ERR! code 1”
If your Node.js version is very recent, try downgrading. The stable version 14.16.1 worked.
Read more >Common errors | npm Docs
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >Resolving EACCES permissions errors when installing ...
Reinstall npm with a node version manager. This is the best way to avoid permissions issues. To reinstall npm with a node version...
Read more >npm-install-all
This is a npm module to install all dependent npm packages for a particular file or folder or a project and save it...
Read more >Tip: Click on a version number to view a previous ... - npm
a package manager for JavaScript. Latest version: 9.2.0, last published: 21 days ago. Start using npm in your project by running `npm i...
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
Just got another idea, not sure it is good, also would only work with client packages: print into browser console in dev mode that info 😃 also doesn’t scale if every library does that, on the other hand not that many packages look for support.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.