Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xrc-inc/grpc-web

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xrc-inc/grpc-web

1. 安装 Bazel

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
2
Weekly downloads
 
Created
Source

如何初始化 Bazel 工作区

  1. 安装 Bazel

    brew cask install java
    brew install bazel
    
  2. 检测是否已经正确配置代理服务器

    [[ -z "${HTTP_PROXY}" ]] && echo 'HTTP_PROXY is not configured'
    [[ -z "${HTTPS_PROXY}" ]] && echo 'HTTPS_PROXY is not configured'
    
  3. 配置让 GO 的自动提示与 Bazel 共同工作

    go 的自动提示由 go 原生工具链提供,其依赖 $GOPATH 进行包解析。由于 bazel 会将生成的文件和编译的文件放在 bazel-genfiles, bazel-bin 等目录中,所以 go 原生工具链不能正确的发现源代码。 为了解决这个问题,我们使用 unionfs 技术将不同目录中的代码进行融合,使得 go 原生工具链可以找到相应的源代码。

    ./devtools/scripts/gopath.sh install
    bazel build //api/...
    

FAQs

Package last updated on 13 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc