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
tns plugin add <plugin> has some issues with stdin when postinstall is using inquirer.
For example create plugin that has the following postinstall script:
In case you call npm install <plugin> the prompt is executed correctly and user can type.
In case you call tns plugin add <plugin> the user's input is slowed down, some symbols are not shown at all, etc.
Required for nativescript-telerik-ui.
The text was updated successfully, but these errors were encountered:
Reproducible without using inquirer. Set the postinstall script to be:
constreadline=require('readline');constrl=readline.createInterface({input: process.stdin,output: process.stdout});rl.question('Ask something:? ',(answer)=>{console.log('Thank you for your valuable feedback, which was:\n',answer);rl.close();});
tns plugin add <plugin>
has some issues with stdin when postinstall is using inquirer.For example create plugin that has the following postinstall script:
where myScript.js is something like:
In case you call
npm install <plugin>
the prompt is executed correctly and user can type.In case you call
tns plugin add <plugin>
the user's input is slowed down, some symbols are not shown at all, etc.Required for
nativescript-telerik-ui
.The text was updated successfully, but these errors were encountered: