WindmillWWindmill
Powered by
KasparK
Windmill•2y ago•
3 replies
Kaspar

Syncing a whole existing folder with scripts and shared logic

I want to take a folder (from a non-Windmill project) with
index.ts
index.ts
,
package.json
package.json
and a bunch of
*.ts
*.ts
files, and sync it to Windmill into a folder, so I could automate it on the Windmill Cloud side.

I'm getting errors akin to:
1.)
... *.ts invalid, it cannot be parsed to infer schema.
... *.ts invalid, it cannot be parsed to infer schema.

2.)
... *.script.yaml: Error: Failed to generate lockfile. Status was: Internal Server Error, timeout after 20s, SyntaxError: Unexpected token 'i', "timeout after 20s" is not valid JSON
... *.script.yaml: Error: Failed to generate lockfile. Status was: Internal Server Error, timeout after 20s, SyntaxError: Unexpected token 'i', "timeout after 20s" is not valid JSON


Even though the script files are quite innocuous.

Is this a reasonable thing to do? Any pointers to where I could be going wrong?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
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

Errors Deploying and Testing Scripts
dfulton2009Ddfulton2009 / help
8mo ago
Shared logic import in deno gives lsp error , though it actually works
ym1198Yym1198 / help
3y ago
Working with (CSV) file output and python in scripts/workflows
stair_spiritSstair_spirit / help
3y ago
[Windmill Flow] Windmill Flow shared folder not deleted after job done
Naufal AlfaNNaufal Alfa / help
14mo ago