Wallaby.js 在初始化期间挂起
Wallaby.js hangs during initalization
我试图在我的 VS2013 解决方案中获得 Wallaby.js 运行,但我遇到了一些奇怪的行为。
如果它是 运行 并且我更改了配置文件,我必须停止它。它出错并显示以下消息
wallaby.js started core v1.0.159 Failed to start stop operation,
Error: ENOENT: no such file or directory, unlink
'C:\Users\XXXX\AppData\Local\Temp.wallaby\projects\FG57vVlzA+WewEWCpi1WInb+g1k=\cache\instrumented\somepath\somefile.ts.compiled.js'
at Error (native) at Object.fs.unlinkSync
(evalmachine.:931:18) at EventEmitter.u.unlinkFileSync
[as _unlinkFileSync] (C:\Users\XXXX.wallaby\core\server.js:18:11095)
at C:\Users\XXXX.wallaby\core\server.js:16:6022 at baseFor
(C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:1971:13)
at baseForOwn
(C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:2025:14)
at baseEach
(C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:1814:16)
at Function.forEach
(C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:5701:11)
at EventEmitter._.extend.stop
(C:\Users\XXXX.wallaby\core\server.js:16:5651) at Object.i.receive
(C:\Users\XXXX.wallaby\core\server.js:14:1177) at
WebSocket. (C:\Users\XXXX.wallaby\core\server.js:18:12016)
at emitTwo (events.js:87:13) at WebSocket.emit (events.js:169:7)
at Receiver.self._receiver.ontext
(C:\Users\XXXX.wallaby\core\node_modules\ws\lib\WebSocket.js:682:10)
at Receiver.opcodes.1.finish
(C:\Users\XXXX.wallaby\core\node_modules\ws\lib\Receiver.js:391:14)
at Receiver.expectHandler
(C:\Users\XXXX.wallaby\core\node_modules\ws\lib\Receiver.js:372:33)
at Receiver.add
(C:\Users\XXXX.wallaby\core\node_modules\ws\lib\Receiver.js:87:24)
at Socket.firstHandler
(C:\Users\XXXX.wallaby\core\node_modules\ws\lib\WebSocket.js:663:22)
at emitOne (events.js:77:13) at Socket.emit (events.js:166:7) at
readableAddChunk (_stream_readable.js:146:16) at
Socket.Readable.push (_stream_readable.js:109:10) at TCP.onread
(net.js:517:20)
wallaby.js stopped
然后我启动Wallaby.js,在初始化阶段就挂了,如VS2013左下角所示
Wallaby.js: Initializing runner
并且控制台输出永远不会过去
wallaby.js started
core v1.0.159
然后我停止 Wallaby.js 并且没有任何反应。
然后我停止 Wallaby.js 并且控制台报告 Wallaby.js 已停止(我的配置文件的上下文菜单显示停止、重新启动和启动命令)
wallaby.js started
core v1.0.159
wallaby.js stopped
然后我再次启动 Wallaby.js,它起作用了...
我遵循了安装 Wallaby.js 的步骤大纲,并且一直在摸索着完成配置 doco。如有任何帮助,我们将不胜感激。
这肯定是在 wallaby 配置中 files/tests paths/patterns 前导 ./
的结果。请删除 t 并重试。
我试图在我的 VS2013 解决方案中获得 Wallaby.js 运行,但我遇到了一些奇怪的行为。
如果它是 运行 并且我更改了配置文件,我必须停止它。它出错并显示以下消息
wallaby.js started core v1.0.159 Failed to start stop operation, Error: ENOENT: no such file or directory, unlink 'C:\Users\XXXX\AppData\Local\Temp.wallaby\projects\FG57vVlzA+WewEWCpi1WInb+g1k=\cache\instrumented\somepath\somefile.ts.compiled.js' at Error (native) at Object.fs.unlinkSync (evalmachine.:931:18) at EventEmitter.u.unlinkFileSync [as _unlinkFileSync] (C:\Users\XXXX.wallaby\core\server.js:18:11095) at C:\Users\XXXX.wallaby\core\server.js:16:6022 at baseFor (C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:1971:13)
at baseForOwn (C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:2025:14)
at baseEach (C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:1814:16)
at Function.forEach (C:\Users\XXXX.wallaby\core\node_modules\lodash\index.js:5701:11)
at EventEmitter._.extend.stop (C:\Users\XXXX.wallaby\core\server.js:16:5651) at Object.i.receive (C:\Users\XXXX.wallaby\core\server.js:14:1177) at WebSocket. (C:\Users\XXXX.wallaby\core\server.js:18:12016) at emitTwo (events.js:87:13) at WebSocket.emit (events.js:169:7)
at Receiver.self._receiver.ontext (C:\Users\XXXX.wallaby\core\node_modules\ws\lib\WebSocket.js:682:10) at Receiver.opcodes.1.finish (C:\Users\XXXX.wallaby\core\node_modules\ws\lib\Receiver.js:391:14)
at Receiver.expectHandler (C:\Users\XXXX.wallaby\core\node_modules\ws\lib\Receiver.js:372:33)
at Receiver.add (C:\Users\XXXX.wallaby\core\node_modules\ws\lib\Receiver.js:87:24)
at Socket.firstHandler (C:\Users\XXXX.wallaby\core\node_modules\ws\lib\WebSocket.js:663:22) at emitOne (events.js:77:13) at Socket.emit (events.js:166:7) at readableAddChunk (_stream_readable.js:146:16) at Socket.Readable.push (_stream_readable.js:109:10) at TCP.onread (net.js:517:20)wallaby.js stopped
然后我启动Wallaby.js,在初始化阶段就挂了,如VS2013左下角所示
Wallaby.js: Initializing runner
并且控制台输出永远不会过去
wallaby.js started core v1.0.159
然后我停止 Wallaby.js 并且没有任何反应。
然后我停止 Wallaby.js 并且控制台报告 Wallaby.js 已停止(我的配置文件的上下文菜单显示停止、重新启动和启动命令)
wallaby.js started core v1.0.159 wallaby.js stopped
然后我再次启动 Wallaby.js,它起作用了...
我遵循了安装 Wallaby.js 的步骤大纲,并且一直在摸索着完成配置 doco。如有任何帮助,我们将不胜感激。
这肯定是在 wallaby 配置中 files/tests paths/patterns 前导 ./
的结果。请删除 t 并重试。