Comments (8)
You forgot to run npm install
first.
from aria-telegram-mirror-bot.
~~I have run it already, but this issue is still there. ~~ Oh, no, the installing is killed, how should I do.
from aria-telegram-mirror-bot.
aria-telegram-mirror-bot]# npm install
Killed.............] | fetchMetadata: sill mapToRegistry uri https://registry.npmjs.org/tough-cookie
from aria-telegram-mirror-bot.
You seem to be using a VPS. How much RAM does it have? The bot itself can't upload large file with less than 1GB, and I'd expect npm to have problems, too. If it's a VPS, try increasing RAM, else use a larger swap.
from aria-telegram-mirror-bot.
f1-micro (1 vCPU, 0.6 GB memory)
Ok, I upgrade it immediately.
from aria-telegram-mirror-bot.
node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See yagop/node-telegram-bot-api#319. module.js:577:32
/root/aria-telegram-mirror-bot/drive/upload-file.js:114
request(options, async function (error, response, body) {
^^^^^
SyntaxError: missing ) after argument list
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/root/aria-telegram-mirror-bot/drive/drive-upload.js:3:19)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/root/aria-telegram-mirror-bot/fs-walk.js:3:16)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
npm ERR! Linux 3.10.0-957.12.2.el7.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "--max_old_space_size=128" "start"
npm ERR! node v6.16.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mirror-bot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mirror-bot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mirror-bot
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/aria-telegram-mirror-bot/npm-debug.log
from aria-telegram-mirror-bot.
aria-telegram-mirror-bot]# npm install
Killed.............] | fetchMetadata: sill mapToRegistry uri https://registry.npmjs.org/tough-cookie
Tried running npm install
with sudo
?
from aria-telegram-mirror-bot.
Are you sure that you didn't make any changes to the source? There aren't any SyntaxErrors here.
from aria-telegram-mirror-bot.
Related Issues (20)
- Cannot enter authentication code. HOT 2
- Download isn't starting HOT 1
- 您无权在此处使用此漫游器 HOT 2
- Not Getting Bot auth url HOT 28
- Mirror bot
- Bot not starting up HOT 2
- bot not starting up
- A2c failed to open websocket HOT 1
- Failed to upload README.md to Drive. The user does not have sufficient permissions for this file.
- NPX? HOT 10
- Error when doing npm start HOT 5
- Devil
- How can I uninstall the bot? HOT 1
- A small question. HOT 1
- npm start 61 error HOT 1
- failed. Download aborted.
- torrent not downloading
- Unable to start the server
- Mirror bot cannot access shared drive of another group, i have joined that shared drive through Google groups
- Mirror bot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aria-telegram-mirror-bot.