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,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Errors Deploying and Testing Scripts
dfulton2009Ddfulton2009 / help
9mo 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
15mo ago