Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
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 firstname.lastname@example.org -S npm i email@example.com -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