ping registry.npm.js.org to tell whether we can install npm dependencies