Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string'); #7

Open
tablecell opened this issue Nov 26, 2019 · 1 comment

Comments

@tablecell
Copy link

cd test 
node .

path.js:39
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string');
^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
at assertPath (path.js:39:11)
at Object.join (path.js:495:7)
at Function.requireFromFolder (node_modules\ivyframework\src\Util\Helper.js:26:21)
at Object. (bootstrap\index.js:17:8)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Module.require (module.js:593:17)

node_modules\ivyframework\src\Util\Helper.js:24

		folderPath = path.join(process.env.PWD, folderPath);

windows platform have not ENV variable PWD

@SnigdhaAgarwal6
Copy link

Hi, I am also facing the same issue, can someone suggest what shall be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants