Hi there 👋
Here are some ideas to get you started:
- 🔭 I’m currently working on Darabonba.
http(s) module with power.
Here are some ideas to get you started:
Hi, JacksonTian:
我在使用阿里云 @alicloud/pop-core 包时遇到以下报错信息,错误来源您的 npm 包 httpx:
TypeError: Cannot create property 'startTime' on number '3'
at startResponseTimer (node_modules/httpx/lib/index.js:119:23)
at TLSSocket.<anonymous> (node_modules/httpx/lib/index.js:153:11)
此错误来源您的代码第 119 行,您在此试图向一个数字类型 timer 设置属性,这种行为在严格模式下是被禁止的,我已修复此 Bug 并提交 PR,请接收,谢谢。
For anyone who wonders how to use https with a proxy, you can do it through proxy-agent:
const proxy = require('proxy-agent');
const httpx = require('httpx');
httpx.request('http://www.baidu.com/', {agent: new ProxyAgent("https://yourproxy:123")}).then((response) => {
response.pipe(process.stdout);
response.on('end', () => {
process.stdout.write('\n');
});
}, (err) => {
// on error
});
同样是 v1.0.0 版本,但 github 上的代码和 npm 上的不一致,npm 还以一年前的版本,不支持 timeout
,希望更新 npm。
Line 119 in e031c73
TypeError: Cannot create property 'startTime' on number '3'
at startResponseTimer (node_modules/httpx/lib/index.js:119:23)
at TLSSocket.<anonymous> (node_modules/httpx/lib/index.js:141:11)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.