Home
Sign Up
Sign In
Advertisement
V2EX
›
Node.js
不懂就问: nodejs readline 模块问题
kuyuzhiqi
·
May 27, 2020
· 3625 views
This topic created in 2217 days ago, the information mentioned may be changed or developed.
官方推荐在读取文件的时候不要先判断而是直接读取,出错了再处理,但 readline 模块好像没法捕获异常,比如读取一个不存在的文件时候,在读取一个空白文件的时候,多执行几遍就卡在那了,求大佬们指点
No Comments Yet
读取
readline
文件
模块
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2421 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 1004ms ·
UTC 16:10
·
PVG 00:10
·
LAX 09:10
·
JFK 12:10
♥ Do have faith in what you're doing.
❯