Wafer2中Server端读取文件报错
根目录下放一个文件‘helloservice.wsdl’,然后就不能部署到腾讯云上了。会报错
Error: ENOENT: no such file or directory, open ‘helloservice.wsdl’
var xml = require(‘fs’).readFileSync(‘helloservice.wsdl’, ‘utf8’),
server = http.createServer(function (request, response) {
response.end("404: Not Found: " + request.url)
});