I’m encountering an issue while running forge tunnel for my app development. The tunnel starts correctly, linting passes, and bundling succeeds, but then I see the following error:
=== Running forge lint...
No issues found.
=== Bundling code...
✔ Functions bundled.
Listening for requests on local port 58945...
(node:18935) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: AggregateError
Error: AggregateError
Has anyone else faced this error while using Forge Tunnel?
What typically causes AggregateError in this context?
Are there recommended fixes or workarounds?
Any insights or suggestions would be greatly appreciated!
Hi @ANKITJangid1 - Did you try using the “node --trace-deprecation” command as suggested in the error message?
Follow-up edit: To enable this command with the Forge Tunnel, you need to use a local environment variable on your machine: NODE_OPTIONS: —trace-deprecation
For example, I use Windows PowerShell, so for me it looks like: