标签归档:YUI3

Play with Yogi

Before I can contribute to YUI3, I did all the 3 steps described in Developer Workflow · yui/yui3 Wiki. And I thought it should be as straightforward as this line of doc said to build and test a YUI module in just 2 commands.

Then it turned out that I’m not the lucky 32bit Windows XP user even after I manually installed phantomjs and grover using ‘npm -g install’.

Image

The error message is something like this:

events.js:72

throw er; // Unhandled ‘error’ event

^

Error: spawn ENOENT

at errnoException (child_process.js:980:11)

at Process.ChildProcess._handle.onexit (child_process.js:771:34)

If you don’t want to give it up and try ‘yogi test’ again, it will be more friendly:

Please install the phantomjs binary in your path!

So the last hint I’ve got and can provide to you is, append the path where phantomjs.exe lives (“C:\Documents and Settings\<user>\Application Data\npm\node_modules\phantomjs\lib\phantom” but substitute <user> with your own Windows User name) into your PATH environment variable and launch a new cmd … time to watch the miracle~

Image