reproducing problem by requiring via .. instead of exact file
fixing problem by pointing main to string2stream.js