nodejs version and jasmine-tool

24 views
Skip to first unread message

Mike Lippold

unread,
Jan 7, 2011, 3:43:05 PM1/7/11
to Jasmine
I found some issues trying to run jasmine on the latest version of
nodejs, v0.3.3. jasmine-tool installed ok, but when I tried to run
it, I got the following error:

$ jasmine run

node.js:68
throw e; // process.nextTick error, or 'error' event on first
tick
^
TypeError: Object function require(path) {
return loadModule(path, self);
} has no method 'async'
at Configuration.<anonymous> (/Users/mikey/local/lib/node/.npm/
jasmine/0.1.0/package/lib/config.js:4:13)
at loadConfig (/Users/mikey/local/lib/node/.npm/jasmine/0.1.0/
package/lib/jasmine-runner.js:80:31)
at Object.run (/Users/mikey/local/lib/node/.npm/jasmine/0.1.0/
package/lib/jasmine-runner.js:34:7)
at Object.run (/Users/mikey/local/lib/node/.npm/jasmine/0.1.0/
package/lib/jasmine-runner.js:69:25)
at /Users/mikey/local/lib/node/.npm/jasmine/0.1.0/package/bin/
jasmine:25:13
at Object.<anonymous> (/Users/mikey/local/lib/node/.npm/jasmine/
0.1.0/package/bin/jasmine:27:2)
at Module._compile (node.js:360:32)
at Object..js (node.js:368:14)
at Module.load (node.js:291:27)
at loadModule (node.js:263:14)

I resolved this by uninstalling jasmine-tool, npm and nodejs, then
installing everything under nodejs v0.2.6. All is good with the world
now.

BTW James, this is a great tool and I am grateful you have spent time
working on it. Congrats on the new addition to your family as well.

Mike

James Carr

unread,
Jan 7, 2011, 5:55:22 PM1/7/11
to jasmi...@googlegroups.com
Hi Mike,

Glad you like it! Node.js took a few big changes in the API from 0.2.x
to 0.3.x and as a result it means that the tool doesn't run with
version 0.3.x yet. Since 0.3.x is still considered unstable I'm
holding off for a little while longer to let some of the dust settle.
:)


Thanks,
James

> --
> You received this message because you are subscribed to the Google Groups "Jasmine" group.
> To post to this group, send email to jasmi...@googlegroups.com.
> To unsubscribe from this group, send email to jasmine-js+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jasmine-js?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages