code: function localExist(name) {
    // name = utils.fullName(name);
    const modulePath = path.resolve(home.getModulesPath(), name);
    const pkgPath = path.resolve(modulePath, 'package.json');
    return fs.existsSync(pkgPath);
  }
docs: 模块是否存在