I installed easysoap but get this reference error
我安装了easysoap但是得到了这个引用错误
/Users/frank/Documents/NodeJs/node_modules/easysoap/node_modules/promise/index.js:82 throw err ^ ReferenceError: error is not defined at /Users/frank/Documents/NodeJs/node_modules/easysoap/lib/easysoap.js:90:60 at Object._onImmediate (/Users/frank/Documents/NodeJs/node_modules/easysoap/node_modules/promise/core.js:34:15) at processImmediate [as _immediateCallback] (timers.js:330:15)
/Users/frank/Documents/NodeJs/node_modules/easysoap/node_modules/promise/index.js:82 throw err ^ ReferenceError:错误未在/Users/frank/Documents/NodeJs/node_modules/easysoap/lib/easysoap.js中定义:90:60 at object._onImmediate(/Users/frank/Documents/NodeJs/node_modules/easysoap/node_modules/promise/core.js:34:15)at processImmediate [as _immediateCallback](timers.js:330:15)
Is this caused by a mistake i did make, or is anyone else also getting this error? Is there any documantation on the web?
这是由我犯的错误引起的,还是其他人也得到这个错误?网上有任何文件记录吗?
1 个解决方案
#1
1
Looks like a bug on easysoap
's side to me. From the source code:
看起来像easysoap方面的一个错误。从源代码:
request.get(params, this.opts)
.done(function(data) {
// ...
}, function(err) {
that.emit('error', 'fail to get wsdl', error);
});
The error
variable indeed doesn't exist, and should have been err
. You should report this bug to easysoap
's maintainer.
错误变量确实不存在,应该是错误的。您应该向easysoap的维护者报告此错误。
#1
1
Looks like a bug on easysoap
's side to me. From the source code:
看起来像easysoap方面的一个错误。从源代码:
request.get(params, this.opts)
.done(function(data) {
// ...
}, function(err) {
that.emit('error', 'fail to get wsdl', error);
});
The error
variable indeed doesn't exist, and should have been err
. You should report this bug to easysoap
's maintainer.
错误变量确实不存在,应该是错误的。您应该向easysoap的维护者报告此错误。