Nodemon: Missing flatmap-stream dependency - Failing to install

Created on 26 Nov 2018  路  9Comments  路  Source: remy/nodemon

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

Most helpful comment

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.

All 9 comments

Looks like flatmap-stream has been removed from npm:
https://github.com/dominictarr/event-stream/issues/116

@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

For additional context on why flatmap-stream was removed from npm https://github.com/dominictarr/event-stream/issues/116

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.

Is the fix published to npm?

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

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

Closed since pstree.remy has been fixed.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bastorx picture Bastorx  路  5Comments

olalonde picture olalonde  路  3Comments

dimsmol picture dimsmol  路  4Comments

remy picture remy  路  5Comments

Exeteres picture Exeteres  路  4Comments