The fs.readFile bug was hiding another bug that was causing this test to pass, even so it was broken: require.async("../fixtures/throws_error1") in test-module-loading.js This patch fixes the original test by running _compile within a try..catch block for _loadScript. _loadScriptSync also had some useless (deprecated?) code for dealing with module entry point exceptions. This code was also removed for greater clarity.
Evented I/O for V8 javascript. To build: ./configure make make install To run the tests: make test To build the documentation and install it, you will need ronn: make doc install To read the documentation: man doc/node.1 See http://nodejs.org/ for more information. For help and discussion subscribe to the mailing list by visiting http://groups.google.com/group/nodejs or by sending an email to nodejs+subscribe@googlegroups.com.
Languages
JavaScript
61.4%
C++
23.3%
Python
10.7%
C
2.8%
HTML
0.7%
Other
1%