不过我在其他帖子中看到这位大佬的其他回复,从我的理解是使用 fs.readFileSync(filePath, 'utf-8'); 但是并没有成功
fs.readFileSync(filePath, 'utf-8');