kentcdodds / cross-env

🔀 Cross platform setting of environment scripts

Home Page:https://www.npmjs.com/package/cross-env

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot find module '..'

lixiaozhangme opened this issue · comments

image
image

It was still possible before, suddenly it will not work.

IMHO, this is not a proper way to use any npm modules.

or, maybe try console.log(require('fs').readdirSync('..')) to check the result?

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.

Also, @zhuangya is correct. This module is not intended to be used like that.