Join GitHub today
npm rm can cause node_modules to be in invalid state #5698
This is a "dependency tree realization" bug.
The problem here is that invoking
mkdir ~/tmp/foobar cd ~/tmp/foobar npm init npm i email@example.com -S npm i firstname.lastname@example.org -S npm ls echo "npm ls is good $?" npm rm routes -S npm ls echo "npm ls should be good but is bad $?"
The expected output is that the second
Break the logic that is
Then use that function to find all copies in