详细问题描述
下载HBuilderX.2.0.0.20190610,新建了一个普通项目,新建html文件后,在内置浏览器访问,提示
Error: ENOENT: no such file or directory, open ''
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\livereload.js:103:30
at Layer.handle [as handle_request] (D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\layer.js:95:5)
at next (D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\layer.js:95:5)
at D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\index.js:281:22
at param (D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\index.js:354:14)
at param (D:\DevelopSoft\HBuilderX.2.0.0.20190610\HBuilderX\plugins\nodeserver\node_modules\express\lib\router\index.js:365:14)
0 个回复