使用 Windows 7 在 node_modules\protractor 中启动 webdriver-manager 时遇到问题。命令是:
node webdriver-manager start
然后我收到以下错误消息:
seleniumProcess.pid: undefined
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1028:32)
at child_process.js:1109:20
at process._tickCallback (node.js:343:11)
at Function.Module.runMain (module.js:492:11)
at startup (node.js:124:16)
at node.js:807:3
在互联网上搜索后,我找不到任何类似的问题,即 seleniumProcess.pid 未定义。
以下是 java -version 的输出:
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
任何想法?