Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing flatmap-stream dependency - Failing to install #1468

Closed
mikebm opened this issue Nov 26, 2018 · 9 comments
Closed

Missing flatmap-stream dependency - Failing to install #1468

mikebm opened this issue Nov 26, 2018 · 9 comments

Comments

@mikebm
Copy link

mikebm commented Nov 26, 2018

npm install fails due to a dependency not resolving.
The dependency is flatmap-stream and appears to no longer exist in the npm repository.
https://www.npmjs.com/package/flatmap-stream

Expected behaviour

nodemon should install

Actual behaviour

nodemon fails to install with the following error:
npm ERR! code E404
npm ERR! 404 Not Found: flatmap-stream@^0.1.0

Steps to reproduce

Simply run npm install

@rdunk
Copy link

rdunk commented Nov 26, 2018

Looks like flatmap-stream has been removed from npm:
dominictarr/event-stream#116

@stephenlacy
Copy link

@remy Thanks for updating pstree.remy to remove ps-tree. Could you publish the latest on master as well? Should fix the issue now that npm has removed flatmap-stream

@jakepeyser
Copy link

For additional context on why flatmap-stream was removed from npm dominictarr/event-stream#116

@jnv
Copy link

jnv commented Nov 26, 2018

I think this is due to locked dependencies and it can be fixed by reinstalling nodemon, i.e.: npm uninstall nodemon; npm i -D nodemon. This will (hopefully) pull in the latest version of pstree.remy without affected dependencies.

@spiritson
Copy link

Is the fix published to npm?

@jnv
Copy link

jnv commented Nov 26, 2018

@spiritson The latest published version of pstree.remy is 1.1.2 which is fixed.

@jay-hankins
Copy link

@spiritson Yes, the fix is in a dependency pstree.remy@1.1.2. Just uninstall and reinstall nodemon in your project using npm or yarn appropriately.

Worldedit05 added a commit to Worldedit05/swd-discord-bot that referenced this issue Nov 26, 2018
@mikebm
Copy link
Author

mikebm commented Nov 26, 2018

Closed since pstree.remy has been fixed.

@anton-mladenov
Copy link

@jnv YOU saved the day! You deserve a prize! Thank you! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants