cannot find module '..'
lixiaozhangme opened this issue · comments
lixiaozhangme commented
Ya Zhuang commented
IMHO, this is not a proper way to use any npm modules.
or, maybe try console.log(require('fs').readdirSync('..'))
to check the result?
Kent C. Dodds commented
Sorry for not responding to this earlier. It's been long enough that I'm going to close this issue. If you're still experiencing problems, please open a new issue.
Kent C. Dodds commented
Also, @zhuangya is correct. This module is not intended to be used like that.