Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

pm2 next /usr/bin/yarn: line 3: /bin: Is a directory

# --interpreter bash is your problem. yarn is not a bash script, 
# rather what appears to be a JS program. Do this:

pm2 start yarn --name appname -- start:next
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #line #Is #directory
ADD COMMENT
Topic
Name
6+9 =