MK (fengmk2)
MK (fengmk2)
还是 node-gyp 下载 node.tgz 不完整导致的 ``` gyp: /usr/share/node/common.gypi not found (cwd: /home/rainsun/douban.fm/node_modules/player/node_modules/speaker) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error ``` https://github.com/TooTallNate/node-gyp/pull/389 推荐使用国内源再试试 ```...
If jsduck will support es2015? ``` jsduck lib/ --output docs --builtin-classes Error: Error while parsing someclass.js: Invalid JavaScript syntax: Unexpected 'class' on line 27 ```
urllib v3 ```bash node --require time-require . Start time: (2023-04-26 09:43:43 UTC) [treshold=1%] # module time % 1 text-table (node_modules/.store/[email protected]/node_modules/text-table/index.js) 1ms ▇▇ 2% 2 pretty-ms (node_modules/.store/[email protected]/node_modules/pretty-ms/index.js) 1ms ▇▇ 2% 3...
urllib v2 ```bash node --require time-require . Start time: (2023-04-26 09:44:51 UTC) [treshold=1%] # module time % 1 date-time (node_modules/.store/[email protected]/node_modules/date-time/index.js) 1ms ▇▇▇ 3% 2 parse-ms (node_modules/.store/[email protected]/node_modules/parse-ms/index.js) 1ms ▇▇▇ 3% 3...
https://twitter.com/matteocollina/status/1704527151465173080
https://github.com/alipay/alipay-sdk-nodejs-all/blob/master/src/alipay.ts#L345 需要强制开启 H2 才能走 SSE
https://github.com/nodejs/undici/discussions/833 还需要再看看,目前只改了一个 agent。
想了一下确实保持到 stdout 合适,不过还是想加上 tracing 日志,到 stdout 里面也能看到关联信息。
> 希望打 trace 就用 logger? 会使用到一些开源三方库,不太可能每个库都去 fork 改造一遍吧。
> 可以搞个增强能力,console 可以复制到一个独立日志文件,然后想怎么改都可以了。不论是加前缀还是结构化都不影响。 global 覆盖默认的 console?