Closed Raymondo-C closed 4 years ago
the same to me
Yeah, I want the mirror-bot module too.
Read the readme, specifically the part of the installation section that tells you to run tsc
.
Warnings aren't errors, and I'm lazy. That warning's fine. Ignore it.
Ritayan Chakraborty notifications@github.com于2020年3月18日 周三09:45写道:
Warnings aren't errors, and I'm lazy. That warning's fine. Ignore it.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/out386/aria-telegram-mirror-bot/issues/89#issuecomment-600382379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNKFJOGOACMIXDNKTHU3ALRIARVHANCNFSM4LHE4KNA .
I think there may be two possibilities First, there is insufficient memory for vps Second, insufficient memory will cause an error when tsc is executed, because under normal circumstances, nothing will happen when tsc is executed.
t
I ran
tsc
. And afterward I ran npm install it was warning again.root@localhost:~/aria-telegram-mirror-bot# tsc root@localhost:~/aria-telegram-mirror-bot# npm install npm WARN mirror-bot@2.0.0 No repository field. audited 614 packages in 2.373s 13 packages are looking for funding run `npm fund` for details found 0 vulnerabilities`
now run the bot by npm start
should be fine
also make you have started aria daemon before
I lost count of how many times I have forgotten to do that
@sorrymyself
I think there may be two possibilities First, there is insufficient memory for vps Second, insufficient memory will cause an error when tsc is executed, because under normal circumstances, nothing will happen when tsc is executed.
Yes, tsc does need over 1gb, else it fails. But that's not what he had. It's simply a missing field in package.json.
Couldn't install module mirror-bot@2.0.0
https://registry.npmjs.org/mirror-bot@2.0.0 {"error":"Not found"}
system: CentOS 7.7 x64 npm version: 6.13.4