2

原子编辑器可以在这里找到:https ://atom.io/

关于这个问题的讨论线程在这​​里:http: //discuss.atom.io/t/application-run-all-specs-fail-to-run/7541

我正在运行:带有 Atom 0.84.0 和 Node 0.10.26 的 MBP (OS X 10.9.2)。

当我执行 View > Developer > Run atom specs - 没有任何反应,没有打开窗口,检查器没有打开

当我做

apm develop vim-mode
cd ~/github/vim-mode
atom .

查看 > 开发人员 > 运行包规范 - 没有任何反应,没有打开窗口,也没有打开检查器

然后我尝试了

~/github/vim-mode $ apm test
[764:0409/142738:INFO:renderer_main.cc(227)] Renderer process started

没有打开任何窗口,但是另一个 Atom 程序启动了一个包含“Atom > [Reload, Close, Toggle, Quit]”的菜单

图像

按下退出后,终端说“测试通过”。其他按钮都不起作用

图像

~/github/vim-mode $ apm test
[645:0409/141838:INFO:renderer_main.cc(227)] Renderer process started
Tests passed

我不认为他们真的通过了,“测试通过”只在退出窗口后出现

然后我尝试了atom -d

图像

一个相同的程序开始时没有窗口

然后我尝试通过另一种方式运行测试

~/github/vim-mode $ atom -t
[833:0409/143232:INFO:renderer_main.cc(227)] Renderer process started
[831:0409/143236:INFO:CONSOLE(27)] "Error: Cannot find module '../lib/ui-watcher.coffee'
  at Function.Module._resolveFilename (module.js:337:15)
  at Function.Module._load (module.js:279:25)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/spec/ui-watcher-spec.js:8:15)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/spec/ui-watcher-spec.js:185:4)
  at Module._compile (module.js:455:26)
  at Object.Module._extensions..js (module.js:473:10)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at requireSpecs (/Applications/Atom.app/Contents/Resources/app/spec/spec-suite.coffee:9:5)
  at runAllSpecs (/Applications/Atom.app/Contents/Resources/app/spec/spec-suite.coffee:47:3)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/spec/spec-suite.coffee:58:3)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/spec/spec-suite.coffee:1:1)
  at Module._compile (module.js:455:26)
  at Object.requireCoffeeScript [as .coffee] (/Applications/Atom.app/Contents/Resources/app/src/coffee-cache.js:64:19)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at module.exports.runSpecSuite (/Applications/Atom.app/Contents/Resources/app/spec/jasmine-helper.coffee:30:3)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/spec/spec-bootstrap.coffee:24:3)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/spec/spec-bootstrap.coffee:2:1)
  at Module._compile (module.js:455:26)
  at Object.requireCoffeeScript [as .coffee] (/Applications/Atom.app/Contents/Resources/app/src/coffee-cache.js:64:19)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at window.onload (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:20:5)
", source: /Applications/Atom.app/Contents/Resources/app/spec/spec-bootstrap.coffee (27)
4

1 回答 1

0

此问题不再相关,重新安装后问题解决。

于 2014-10-21T13:46:36.733 回答