trzsz / trzsz.js

trzsz.js is the js version of trzsz, makes terminal built with electron and webshell to support trzsz ( trz / tsz ).
https://trzsz.github.io/js
MIT License
190 stars 12 forks source link

node12 is not supported? #5

Closed zhuzhzh closed 2 years ago

zhuzhzh commented 2 years ago

I use npm install trzsz to install. it will report the error.

$ npm install trzsz
npm WARN saveError ENOENT: no such file or directory, open '/home/harriszh/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/harriszh/package.json'
npm WARN harriszh No description
npm WARN harriszh No repository field.
npm WARN harriszh No README data
npm WARN harriszh No license field.

+ trzsz@0.3.4
added 1 package from 1 contributor and audited 1 package in 2.149s
found 0 vulnerabilities
lonnywong commented 2 years ago

Just WARN ? What is the error message?

zhuzhzh commented 2 years ago

that's the complete log.

$ ./trz
Traceback (most recent call last):
  File "./trz", line 5, in <module>
    from trzsz.svr.recv import main
ModuleNotFoundError: No module named 'trzsz'
lonnywong commented 2 years ago

The js version of trz and tsz is not implemented yet. It calls the python version.

You can install the python version by sudo python3 -m pip install --upgrade trzsz.

You can develop the client with trzsz.js, and use it with the python version of trz and tsz on the server.