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
nodemon should install
nodemon fails to install with the following error:
npm ERR! code E404
npm ERR! 404 Not Found: flatmap-stream@^0.1.0
Simply run npm install
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! 馃コ
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 ofpstree.remywithout affected dependencies.