nodejs / repl

REPL rewrite for Node.js ✨🐢🚀✨
MIT License
177 stars 25 forks source link

Added shebang to tell unix systems to use node #24

Closed NguyenDa18 closed 5 years ago

NguyenDa18 commented 5 years ago

Received command not found error when running node-prototype-repl on ubuntu: https://stackoverflow.com/questions/34353512/node-npm-package-throw-use-strict-command-not-found-after-publish-and-install-g.

Adding the shebang tells "*nix systems that the interpreter of our JavaScript file should be /usr/bin/env node which looks up for the locally-installed node executable".

devsnek commented 5 years ago

Thanks!