no such file or dir in /usr/bin/env
See original GitHub issueInstalled toggl-cli via npm install -g toggl-cli I’m using nvm, I have node 1.8.4 by default and second version I use is 5.3.0
NODE_PATH is set correctly to global node_modules
Whenever I run
$ toggl
I get this error:
/usr/bin/env: node --harmony_destructuring --harmony_default_parameters --harmony_rest_parameters: No such file or directory
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
getting error /usr/bin/env: sh: No such file or directory when ...
This error usually happens if the script has windows line endings instead of unix line endings. Try running dos2unix on the script and...
Read more >usr/bin/env: python : No such file or directory #57 - GitHub
I have a standard install of Python 3 in Ubuntu on WSL and is on the PATH (Python 2 is not_installed). ~❯ which...
Read more >usr bin env python No such file or directory - Edureka
Hi Guys, I am trying to run one python script to fetch dynamic IP. But it is showing me ... bin/env: 'python': No...
Read more >usr/bin/env: 'python\r': No such file or directory - ROS Answers
1 Answer. The problem are your line ending characters. Your file was created or edited on a Windows system and uses Windows/DOS-style line ......
Read more >usr/bin/env: 'python': No such file or directory - Ask Ubuntu
/usr/bin/env: 'python': No such file or directory. Possible Solution #1. If Python 3 is not installed, install it: apt-get install python3.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fix pushed and published, call:
npm -g update toggl-cli
Thank you Alexandre ( @alxgnon ) ! Your fix removed the issue.