WindmillWWindmill
Powered by
hershH
Windmillโ€ข6mo ago
hersh

Issues with Puppeteer - environment config

Hi,

I'm trying to run a simple test in Puppeer, but getting this error that seems to indicate an issue in the environment.

exit code for "bun run": 1, last log lines:
m (mod && mod.esModule) ? mod : { "default": mod };
27 | };
28 | Object.defineProperty(exports, "
esModule", { value: true });
^
TypeError: debug_1.default is not a function. (In 'debug_1.default("proxy-agent")', 'debug_1.default' is an instance of Object)
at /tmp/bun/node_modules/proxy-agent/dist/index.js:28:23

Bun v1.2.18 (Linux arm64)
The error encountered during the test run indicates an issue with the proxy-agent package, specifically with the debug_1.default function. This is likely due to a compatibility issue with the version of puppeteer-core or its dependencies.

To resolve this, we can try a few approaches:

Check for Compatibility: Ensure that the version of puppeteer-core being used is compatible with the current environment and its dependencies.

Update Dependencies: Sometimes updating the dependencies can resolve such issues. However, since this is a script running in a controlled environment, we might not have direct control over the versions.
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c ยท 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra ยท 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 ๐Ÿ™‚

henri-c ยท 4w ago

Similar Threads

Issues with Golang on selfhosted environment
HybridHHybrid / help
3y ago
puppeteer is failed to start
ZZZ / help
15mo ago
Question about air-gapped environment
์˜ค๊ทœ์„ฑ_์‚ฌ๋ž‘์˜ ์€์†Œ๋‚˜์˜ค์˜ค๊ทœ์„ฑ_์‚ฌ๋ž‘์˜ ์€์†Œ๋‚˜ / help
8mo ago
PHP extensions and environment variables
Felipe ChangFFelipe Chang / help
12mo ago