I noticed a bunch of packages triggering [this npm@3 issue] because our Sinopia instance cached a number of packages. I wrote this script to find the bad packages on our server.
- npm install
- change the dataDir variable on line 3 of index.js to point to your Sinopia data directory
node ./index.js | grep BADto list the bad packages
- rm -r those packages