-
Notifications
You must be signed in to change notification settings - Fork 977
Search node_modules in parent directories until the root is reached #991
Conversation
I suspect we don't really want to search up to the fs root, for security reason. Also, could you please ensure that builds are green? Thanks. |
That's what node.js does: http://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders I'm trying to understand why the test fails on Travis... |
I fixed the test. |
Nice, thanks. Do you think you could write a test? Typically one in https://github.com/n1k0/casperjs/blob/master/tests/clitests/runtests.py That would help preventing further regressions. |
I'll try to write a test. |
I'm currently on Windows, and it seems the tests do not work on this platform, is it a known issue? |
Hmm I don't have a windows box at hand, but last time I did tests were running just fine. What errors do you get? |
Many failures trying to use
then these errors:
|
I'm trying to setup a Linux VM to run the tests. |
Thanks a bunch, I truly appreciate. In the meanwhile, I filed issue #996 to track broken tests on Windows. |
I implemented one test. |
This is good, thanks a lot! :) |
Search node_modules in parent directories until the root is reached
This fixes #956.