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
Platform: Linux JM-LAPTOP 3.19.0-56-generic extending options from a prototype #62~14.04.1-Ubuntu SMP Fri Mar 11 11:03:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I have a script hello which has the following content:
#!/usr/bin/env node
console.log('hello there!');
When I run it with ./hello, I get the following output:
$ ./hello
: No such file or directory
When I run it with node ./hello, I get the following output:
$ ./hello
hello there!
The text was updated successfully, but these errors were encountered:
I have a script
hello
which has the following content:When I run it with
./hello
, I get the following output:When I run it with
node ./hello
, I get the following output:The text was updated successfully, but these errors were encountered: