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
Is there a way detect if shelljs or node is installed in the system, within the script. I know it's kina dumb but, say in bash script it's possible to get the the $SHELL
Asking this because, say one decides to write a setup script with shelljs, then node becomes a dependency to get shelljs first....so bit confused... env['NODE_PATH'] would be useful? But also, can we know if shelljs is installed or not and then install it within shelljs 0_o
The text was updated successfully, but these errors were encountered:
not sure what you mean. if you don't have Node you won't be able to run the script at all. as for detecting ShellJS, do you mean locally or globally (as in the command shjs)? can you please clarify?
Is there a way detect if
shelljs
ornode
is installed in the system, within the script. I know it's kina dumb but, say in bash script it's possible to get the the$SHELL
Asking this because, say one decides to write a setup script with shelljs, then node becomes a dependency to get shelljs first....so bit confused...
env['NODE_PATH']
would be useful? But also, can we know if shelljs is installed or not and then install it within shelljs 0_oThe text was updated successfully, but these errors were encountered: