A generator needs a value
error: generator component needs a value for packagehint: Give it with --set package=<value>, or run axle generate in a terminal to be asked for it.Why it happens
Section titled “Why it happens”axle generate asks for the values a generator needs only in a terminal. Run from a script, in CI or by an agent, it can’t ask, so every variable without a default has to be given. The built-in package generator also needs a folder when the workspace lists none, such as packages/*, to put the package in.
How to fix it
Section titled “How to fix it”Give the value with --set <variable>=<value>, or the name variable as the argument after the generator’s name, such as axle generate component Button. For the package generator, give the folder with --folder.