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.

command not found though successed installed

See original GitHub issue

I have successfully installed deepl translate cli(v1.1.2) and nodejs(v14.9.0) . But the command not found in shell. anyone knows where does the binary file of deepl translate locate?

x@x:~$ yarn global add deepl-translator-cli
yarn global v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "deepl-translator-cli@1.1.2" with binaries:
      - deepl
Done in 0.25s.
x@x:~$ deepl translate -t 'DE' 'How do you do?'
deepl: command not found
x@x:~$ nodejs --version
v14.9.0
x@x:~$ 

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

11reactions
RedGoldPhoenixcommented, Oct 6, 2020

Good evening,

I have the same issue I executed the different command given by Mikkx but I have the same error deepl-translate(1) does not exist, try --help

Thanks for your help and your return

Best Regards

2reactions
themactepcommented, Sep 26, 2022

workaround

chmod +x ~/.config/yarn/global/node_modules/deepl-translator-cli/deepl-detect.js
chmod +x ~/.config/yarn/global/node_modules/deepl-translator-cli/deepl-translate.js
ln -s ~/.config/yarn/global/node_modules/deepl-translator-cli/deepl-detect.js /usr/local/bin/deepl-detect
ln -s ~/.config/yarn/global/node_modules/deepl-translator-cli/deepl-translate.js /usr/local/bin/deepl-translate

but still, there is an error on DeepL end

$ deepl translate -t "EN" <test.cn.txt
Unexpected error when parsing deepl split sentence response: {"jsonrpc":"2.0","error":{"code":1042911,"message":"Too many requests"}}
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix “Command Not Found” Errors in Mac Command Line
“Command not found” because command isn't installed? Use HomeBrew. If the command just isn't installed on the Mac, for common examples like ...
Read more >
ruby - Rails: Command not Found after successful install
A "naked" rails command will only exist if you gem install rails directly without Bundler. Share.
Read more >
How to fix a "Command not found" error in Linux - Red Hat
5 ways to fix "Command not found" errors · 1. Include the path · 2. Add a new path · 3. Copy a...
Read more >
Command exit status 'success' and 'failure' - LinuxQuestions.org
But when I do this in Solaris I got error like: Code: success: command not found. I wonder if one can do this...
Read more >
Why does my brew installation not work? - Ask Different
"Command not found" indicates that the brew binary isn't on one of the directories listed in ...
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