Open ry opened 1 year ago
Trying to understand to help on this issue, the prompt of npm mechanism is better to occur after permissions prompt?
Trying to understand to help on this issue, the prompt of npm mechanism is better to occur after permissions prompt?
It's unclear - we first should debug to see what's the order of events - from the quick glance of the output above it appears that the prompt from npm module is displayed and then some async action triggers Deno's permission prompt. We should collect a few scenarios when such situation happen to try and establish if we can handle all of them (or some of them) and then think on a way to handle it. I think it might be very tricky to resolve this issue fully.
In this example with Deno 1.28.3 I get prompted for permissions to
/etc/npm/config
and forWhat is your project named?
at the same timeThe program hangs here. It's not even possible to ctrl+c or ctrl+d out of it.