question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no such file or dir in /usr/bin/env

See original GitHub issue

Installed 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
meeDamiancommented, Apr 3, 2016

Fix pushed and published, call: npm -g update toggl-cli

0reactions
musichencommented, Apr 4, 2016

Thank you Alexandre ( @alxgnon ) ! Your fix removed the issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found