-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
When i create a custom plugin and add sudo commands in the postinstall script of package.json, the prompt does not work.
Example,
Create a custom plugin and add the following inside _package.json
"scripts":{
"postinstall": "bash postinstall.sh"
}
In the postinstall.sh file, add the following
#!/bin/bash
echo "hello"|sudo tee
Expected behavior should be prompting for sudo password.
Actual behavior is that it gets struck on the terminal at the following without prompting for password
⠧ Installing packages with npm
Metadata
Metadata
Assignees
Labels
No labels