<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Nodejs on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/nodejs/</link><description>Recent content in Nodejs on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Sat, 24 Jun 2023 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/nodejs/atom.xml" rel="self" type="application/rss+xml"/><item><title>Using Node.js to Proxy HTTPS Requests to Dependent R&amp;D Services</title><link>https://www.chenshaowen.com/en/blog/how-to-set-proxy-to-server-using-nodejs.html</link><pubDate>Sat, 24 Jun 2023 00:00:00 +0000</pubDate><atom:modified>Sat, 24 Jun 2023 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/how-to-set-proxy-to-server-using-nodejs.html</guid><description>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.</description><dc:creator>WeChat Official Account</dc:creator><category>Nodejs</category><category>Proxy</category><category>Proxy</category><category>Microservices</category><category>R&amp;D</category><category>Tools</category></item><item><title>Some Installation Problems with Node.js</title><link>https://www.chenshaowen.com/en/blog/some-installation-problems-about-nodejs.html</link><pubDate>Mon, 10 Sep 2018 00:00:00 +0000</pubDate><atom:modified>Mon, 10 Sep 2018 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/some-installation-problems-about-nodejs.html</guid><description>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.</description><dc:creator>WeChat Official Account</dc:creator><category>Frontend</category><category>Webpack</category><category>Nodejs</category><category>R&amp;D</category><category>Environment</category></item></channel></rss>