nodejs搭建本地服务器并访问文件的方法 安装node:https://nodejs.org/en/download/在本地建立目录:f:/nodetest,在该目录下新建index.html作为 nodejs搭建文件服务器