WindmillWWindmill
Powered by
skvochS
Windmill•9mo ago•
2 replies
skvoch

Crash in wmill sync push – TypeError in sync.js due to undefined value.type

I'm running into an issue with the Windmill CLI when trying to push a sync with triggers included. After running:
wmill sync push --yes --include-triggers

I've got following output:
file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:156
if (m.value.type == "rawscript") {
^

TypeError: Cannot read properties of undefined (reading 'type')
at file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:156:21
at Array.flatMap (<anonymous>)
at extractInlineScriptsForFlows (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:152:20)
at Object.getChildren [as c] (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:328:47)
at async readDirRecursiveWithIgnore (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:511:26)
at async elementsToMap (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:532:22)
at async Promise.all (index 1)
at async compareDynFSElement (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:615:11)
at async Command.push [as actionHandler] (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/sync.js:1137:21)
at async Command.execute (file:///opt/homebrew/lib/node_modules/windmill-cli/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js:970:13)

I've done some debugging locally and have more details (including the full object that caused it), which I can share privately if helpful—just let me know.
Thanks for your support!
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

wmill sync push error
NaillikNNaillik / help
3y ago
What does `wmill sync push --stateful` do?
invakid404Iinvakid404 / help
2y ago
Error when running wmill sync pull due to temp dir?
sigcoreSsigcore / help
3y ago
wmill sync resource deletion
hkaderHhkader / help
15mo ago