1.找出报错文件地址 2.定位至const os = require('os'); 3.添加内容os.hostname = () => 'localhost'; 4.保存,重试
os.hostname = () => 'localhost';