Can not deploy a server with nodemon.js

In local it is working without any problems
but once I deploy on app engine in google cloud or the website render.com
I get this trouble, looking in StackOverflow, some resolved it by upgrading versions, I did so and also downgraded and keep having the same problem

and here the package.json of different installed packages:
“dependencies”: {
“cors”: “^2.8.5”,
“dotenv”: “^16.0.3”,
“express”: “^4.18.2”,
“nodemon”: “^3.0.1”,
“node”: “^18.12.1”,
“openai”: “^4.3.0”
}

error:
2023-08-31 01:03:06 default[20230831t005500] file:///workspace/node_modules/openai/_shims/agent.node.mjs:10
2023-08-31 01:03:06 default[20230831t005500] AbortController = AbortControllerPolyfill;
2023-08-31 01:03:06 default[20230831t005500] ^
2023-08-31 01:03:06 default[20230831t005500] ReferenceError: AbortController is not defined at file:///workspace/node_modules/openai/_shims/agent.node.mjs:10:19 at ModuleJob.run (internal/modules/esm/module_job.js:183:25) at async Loader.import (internal/modules/esm/loader.js:178:24) at async Object.loadESM (internal/process/esm_loader.js:68:5) at async handleMainPromise (internal/modules/run_main.js:59:12)
2023-08-31 01:03:07 default[20230831t010126] “GET /favicon.ico HTTP/1.1” 500

Hi, im having the same error. were you able to make it work?

I added a test folder and a test file, and since then it was working, try and please let me know