Wafer2中读取Server文件报错 ?

  • 回答 (1)
  • 关注 (0)
  • 查看 (24)

根目录下放一个文件‘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)

});

用户1411364用户1411364提问于
akjok54stay hungry stay foolish回答于

扫码关注云+社区