Javascript Intern Dojo示例退出时出现超时错误

Javascript Intern Dojo示例退出时出现超时错误,javascript,dojo,intern,Javascript,Dojo,Intern,在Intern()下运行的Dojo测试示例实际上不测试任何内容,连接到网络时失败: $ npm test > dojo-intern-example@0.1.0 test /home/bogdanbiv/WebstormProjects/intern-examples/dojo-example > intern-runner config=tests/intern Listening on 0.0.0.0:9001 Starting tunnel... Using no proxy

在Intern()下运行的Dojo测试示例实际上不测试任何内容,连接到网络时失败:

$ npm test
> dojo-intern-example@0.1.0 test /home/bogdanbiv/WebstormProjects/intern-examples/dojo-example
> intern-runner config=tests/intern
Listening on 0.0.0.0:9001
Starting tunnel...
Using no proxy for connecting to Sauce Labs REST API.
**********************************************************
A newer version of Sauce Connect (build 1283) is available!
Download it here:
https://saucelabs.com/downloads/sc-4.3-linux.tar.gz
**********************************************************
Started scproxy on port 49172.
Starting secure remote tunnel VM...
Secure remote tunnel VM provisioned.
Tunnel ID: 2f904e21cf1e4c3e83f63a4b3089127c
Secure remote tunnel VM is now: booting
Secure remote tunnel VM is now: running
Remote tunnel host is: maki76020.miso.saucelabs.com
Using no proxy for connecting to tunnel VM.
Establishing secure TLS connection to tunnel...
Cleaning up.
Finished! Deleting tunnel.
Error: failed to connect to tunnel VM.
Error: failed to connect to tunnel VM.
  at reject  <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:353:17>
  at readStartupMessage  <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:381:12>
  at <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:434:12>
  at Array.some  <native>
  at Socket.<anonymous>  <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:428:21>
  at Socket.EventEmitter.emit  <events.js:117:20>
  at Socket.<anonymous>  <_stream_readable.js:746:14>
  at Socket.EventEmitter.emit  <events.js:92:17>
  at emitReadable_  <_stream_readable.js:408:10>
  at emitReadable  <_stream_readable.js:404:5>
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
$npm测试
>道场实习生-example@0.1.0test/home/bogdanbiv/webstoreprojects/intern示例/dojo示例
>实习生跑步者配置=测试/实习生
收听0.0.0.0:9001
开始隧道。。。
不使用代理连接到RESTAPI。
**********************************************************
Sauce Connect(build 1283)的更新版本可用!
请在此处下载:
https://saucelabs.com/downloads/sc-4.3-linux.tar.gz
**********************************************************
已在端口49172上启动scproxy。
正在启动安全远程隧道VM。。。
已设置安全的远程隧道VM。
隧道ID:2f904e21cf1e4c3e83f63a4b3089127c
安全远程隧道VM现在正在启动
安全远程隧道VM现在正在运行
远程隧道主机为:maki76020.miso.saucelabs.com
不使用代理连接到隧道VM。
正在建立与隧道的安全TLS连接。。。
清理。
完了!删除隧道。
错误:无法连接到隧道VM。
错误:无法连接到隧道VM。
拒绝
在readStartupMessage上
在
至少
在插座上。
在Socket.EventEmitter.emit
在插座上。
在Socket.EventEmitter.emit
至少
至少
npm错误!奇怪的错误1
npm警告此故障可能是由于使用了旧的二进制“节点”
npm警告如需进一步解释,请阅读
/usr/share/doc/nodejs/README.Debian
npm错误!不正常代码0
好吧,它确实抱怨有一个旧的Sauce Connect二进制文件,但即使在下载并插入最新SC(4.3)的路径之后。我还更新了.bin/intern runner,将
js
作为运行环境,而不是旧的
节点
命令。用户和密码是存储库中的用户和密码(保持不变)。我遵循文档,在intern配置文件中取消了对隧道的注释

更新:此问题仍然存在。我发现在端口54687上启动了代理
started scproxy。
,但在更深处,
没有使用代理连接到隧道VM。
。这些线不是应该匹配吗?
可能是这种不匹配与原始问题无关?新的Sauce Connect二进制文件仍然被忽略。

更新:实际上,此解决方案只影响客户端、本地-
intern client config=tests/intern
。因此,此解决方案解决的问题与最初发布的不同/更新

问题是,尽管我按照文档执行了
bower安装
,但bower组件安装在bowerrc全局配置设置的文件夹中。这与dojotodomvc示例对其组件的要求大不相同

还提交了一个问题和请求