postman-collection-gen icon indicating copy to clipboard operation
postman-collection-gen copied to clipboard

ERR_INVALID_ARG_TYPE

Open imiten opened this issue 3 years ago • 0 comments

Hi,

Please see below error. If any details needed let me know I am not fluent in node.

node main.js -c "cof_17122021.postman_collection.json" internal/fs/utils.js:525 throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path); ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined at Object.openSync (fs.js:432:10) at Object.readFileSync (fs.js:342:35) at Object. (/home/miten/learn/postman/main.js:55:70) at Module._compile (internal/modules/cjs/loader.js:956:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10) at Module.load (internal/modules/cjs/loader.js:812:32) at Function.Module._load (internal/modules/cjs/loader.js:724:14) at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10) at internal/main/run_main_module.js:17:11 { code: 'ERR_INVALID_ARG_TYPE' }

imiten avatar Dec 24 '21 13:12 imiten