#!/usr/bin/env node
#!/usr/bin/env 指定脚本的解释程序
添加 #!/usr/bin/env node 指定用node执行脚本文件
可以通过which node来查找node安装路径 再将/usr/bin/env 改成node真实的安装路径
引用文章:
https://blog.csdn.net/weixin_44067347/article/details/125464102
https://www.python100.com/html/114991.html
#!/usr/bin/env 指定脚本的解释程序
添加 #!/usr/bin/env node 指定用node执行脚本文件
可以通过which node来查找node安装路径 再将/usr/bin/env 改成node真实的安装路径
引用文章:
https://blog.csdn.net/weixin_44067347/article/details/125464102
https://www.python100.com/html/114991.html