Open sevku opened 4 years ago
yarn global add deepl-translator-cli 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'global'
$ sudo yarn global add deepl-translator-cli 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'global'
I made the same mistake with yarn. I tried with pnpm and it worked fine:
$ yarn global add deepl-translator-cli
yarn global v1.22.19
[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 2.44s.
$ deepl translate -t 'DE' 'How do you do?'
Command 'deepl' not found, did you mean:
command 'drepl' from snap drepl (0.2.1)
command 'deep' from deb python3-deepdiff (5.6.0-2)
See 'snap info <snapname>' for additional versions.
$ deepl -h
Command 'deepl' not found, did you mean:
command 'drepl' from snap drepl (0.2.1)
command 'deep' from deb python3-deepdiff (5.6.0-2)
See 'snap info <snapname>' for additional versions.
$ yarn global remove deepl-translator-cli
yarn global v1.22.19
[1/2] Removing module deepl-translator-cli...
[2/2] Regenerating lockfile and installing missing dependencies...
success Uninstalled packages.
Done in 0.07s.
$ pnpm add -g deepl-translator-cli
Packages: +10
++++++++++
Progress: resolved 10, reused 0, downloaded 10, added 10, done
/home/user/.local/share/pnpm/global/5:
+ deepl-translator-cli 1.1.2
Done in 2.7s
$ deepl
Usage: deepl [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
translate <text> translates the text to a target language
detect <text> detects the text language
help [cmd] display help for [cmd]
I tried to install and it didn't work.