If config is:
const app = parameters(
{ options:
{ "config": {} },
commands:
{ "start": {} } }
)
This programm:
app.compile( { config: "app.yaml" } )
Leads to the error:
TypeError: Cannot read property 'shift' of undefined at compile (../node-parameters/lib/plugins/args.js:290:93)
This works:
app.compile( {
command: ["start"],
config: "app.yaml"
} )