As soon as the node.js script is runned, it exits immediately with the following error:
TypeError: e.isFile is not a function
at readdir.forEach (D:\epic-games-claimer\epicgames-freebies-claimer\node_modules\epicgames-client\resources\GraphQL.js:8:11)
at Array.forEach ()
at getGraphQL (D:\epic-games-claimer\epicgames-freebies-claimer\node_modules\epicgames-client\resources\GraphQL.js:7:39)
at Object. (D:\epic-games-claimer\epicgames-freebies-claimer\node_modules\epicgames-client\resources\GraphQL.js:17:15)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
As soon as the node.js script is runned, it exits immediately with the following error: TypeError: e.isFile is not a function at readdir.forEach (D:\epic-games-claimer\epicgames-freebies-claimer\node_modules\epicgames-client\resources\GraphQL.js:8:11) at Array.forEach ()
at getGraphQL (D:\epic-games-claimer\epicgames-freebies-claimer\node_modules\epicgames-client\resources\GraphQL.js:7:39)
at Object. (D:\epic-games-claimer\epicgames-freebies-claimer\node_modules\epicgames-client\resources\GraphQL.js:17:15)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)