Nodejs
Using Node.js to Proxy HTTPS Requests to Dependent R&D Services
· β˜• 3 min read
1. Background Under a microservices architecture, the dependency relationships between services are complex. During development, multiple services often need joint debugging. There are two ways to do this: Deploy services to the online development environment, the Kubernetes cluster Use telepresence to connect local and online cluster communication, so you get a relatively stable joint debugging environment.

Some Installation Problems with Node.js
· β˜• 1 min read
1. Installing node-sass When installing node-sass, the node scripts/install stage downloads a .node file from github.com, and network problems often cause this to fail. You can add an .npmrc file inside the project to configure a proxy for the installation: 1 2 sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ registry=https://registry.npm.taobao.org Or install with cnpm: 1 2 npm install -g cnpm --registry=https://registry.