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
- run
node ./index.js | grep BAD
to list the bad packages - rm -r those packages