You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all:
I don't think execa can be used the way it is displayed in the docs anymore. execa.stdout is not a function (anymore?).
Second:
const list = new Listr([
{
title: "Choose where to start",
task: () => input("Enter a number: ", {
done: step => console.log(step) // not even using it for a minimal repro
})
},
{
title: "Step 1",
task: () => execa.command("npm install")
}
])
list.run()
This just crashes my Listr.
I can verify (setting stdio or something) that - after I press enter - it'll continue to process "Step 1" and executes the "npm install", but it just doesn't show any progress anymore. The spinner in front of "Choose where to start" just hangs and there'll not be one in front of "Step 1".
Does anyone know why? Tried all combinations using Promises, Streams etc.... Just can't get it to work.
The text was updated successfully, but these errors were encountered:
Hi,
first of all:
I don't think
execa
can be used the way it is displayed in the docs anymore.execa.stdout
is not a function (anymore?).Second:
This just crashes my Listr.
I can verify (setting stdio or something) that - after I press enter - it'll continue to process "Step 1" and executes the "npm install", but it just doesn't show any progress anymore. The spinner in front of "Choose where to start" just hangs and there'll not be one in front of "Step 1".
Does anyone know why? Tried all combinations using Promises, Streams etc.... Just can't get it to work.
The text was updated successfully, but these errors were encountered: