WindmillWWindmill
Powered by
Son TungS
Windmill•8mo ago•
1 reply
Son Tung

Problem with third party library

Hi, I'm having a problem when try to run a script that pulling third party library. The error message give a hine that i can "Replace
window
window
with
globalThis
globalThis
". But i don't use any 'window' in my script at all.
{
"error": {
"name": "ExecutionErr",
"message": "exit code for "deno run": 1, last log lines:\nerror: Uncaught (in promise) ReferenceError: window is not defined\n}(window || this, (function () {\n ^\n at https://deno.land/x/deno_moment@v1.1.2/moment-copy-2-24-0.js:12:3\n info: window global is not available in Deno 2.\n hint: Replace
window
window
with
globalThis
globalThis
.",
"step_id": "b",
"exit_code": 1
}
}
Deno
Third Party | Deno
Third Party | Deno
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

Problem with sleep
SanketSSanket / help
2y ago
Problem with mobile content
avoidantAavoidant / help
15mo ago
Problem with understanding Windmill pricing
AngadAAngad / help
3y ago
python old typing library?
Steven MoonSSteven Moon / help
2y ago