Skip to content


A require through more than two files in the same dir fails #1

rbgrouleff opened this Issue · 2 comments

2 participants


I've made a test for this. I have, however, not been able to fix it myself. The commit with the test is here: rbgrouleff@7f0450c

The gist of it is basically that the base_dir seems to be reset to '.' when child2.js calls require('./child3'); which means it tries to find child3.js instead of lib/child3.js.

@rasmusrn rasmusrn added a commit that referenced this issue
@rasmusrn Fixes issue #1 (see github). e0c292d

Thanks for reporting :)

@rasmusrn rasmusrn closed this

A new version of Hercules has been released with this fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.