My node installation is at:
/usr/local/bin/node
and I've added the shebang:
#!/usr/local/bin/node
to the top of the file and given my node app file the permissions 755, but when I try to run:
> ./my-app
I get the old:
-bash: ./my-app: No such file or directory
What am I doing wrong?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…