Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS4109

error A script can link at most max scripts (this one links got).

#What it means

One script can declare links to at most 24 different runs of other scripts. A run is a script, a version and a set of inputs, so two handles on the same run (link.live and link.confirmed) count once. Your plan's link slots are a separate, lower limit: links past them still compile, and read na.

#Typical cause

  • More than 24 link.script and input.script declarations with different scripts or inputs.

#How to fix it

Link fewer scripts, or let one script share the values of several. See Plan slots.

#Example

It needs 25 link declarations, too long to show here.

  • CS4107 — Links go more than max scripts deep: path.
  • CS4114 — A script can share at most max what.

The ChartScript documentation is in English for now; translations will follow.