Comments (10)
@mrpupil, you deleted some fields from constants. Follow step 3 of the Installation section again, then read this: https://github.com/out386/aria-telegram-mirror-bot#constants-description
Do not delete anything you aren't using. Set any such fields to "false" or empty, depending on the type.
@begginer-123, that's not needed anymore.
from aria-telegram-mirror-bot.
not needed anymore , wow , so can we run it on low ram config ? like less than 1gb ram config.
Not needed as in npm start
runs it. If you can't run the typescript compiler, you could just compile it on your local pc, then push ./out to the server.
from aria-telegram-mirror-bot.
That is not an error. If you're getting an error, it'll appear after that last "npx" line.
from aria-telegram-mirror-bot.
Found 9 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start:npx typescript && NTBA_FIX_319=1 node --max_old_space_size=128 ./out/index.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
from aria-telegram-mirror-bot.
The actual error is between your 1st and 2nd messages. Show the entire thing.
from aria-telegram-mirror-bot.
sorry i thought it wasn't important, the message is the same as in the compilation of .constants
[email protected] start /content/aria-telegram-mirror-bot
npx typescript && NTBA_FIX_319=1 node --max_old_space_size=128 ./out/index.js
npx: installed 1 in 1.703s
src/bot_utils/event_regex.ts:14:19 - error TS2339: Property 'COMMANDS_USE_BOT_NAME' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
14 if (constants.COMMANDS_USE_BOT_NAME && constants.COMMANDS_USE_BOT_NAME.ENABLED) {
~~~~~~~~~~~~~~~~~~~~~
src/bot_utils/event_regex.ts:14:54 - error TS2339: Property 'COMMANDS_USE_BOT_NAME' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
14 if (constants.COMMANDS_USE_BOT_NAME && constants.COMMANDS_USE_BOT_NAME.ENABLED) {
~~~~~~~~~~~~~~~~~~~~~
src/bot_utils/event_regex.ts:20:45 - error TS2339: Property 'COMMANDS_USE_BOT_NAME' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
20 commands[i] = command + constants.COMMANDS_USE_BOT_NAME.NAME + commandAfter[i];
~~~~~~~~~~~~~~~~~~~~~
src/drive/drive-upload.ts:55:18 - error TS2339: Property 'IS_TEAM_DRIVE' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
55 if (!constants.IS_TEAM_DRIVE || (constants.IS_TEAM_DRIVE && !isFolder)) {
~~~~~~~~~~~~~
src/drive/drive-upload.ts:55:46 - error TS2339: Property 'IS_TEAM_DRIVE' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
55 if (!constants.IS_TEAM_DRIVE || (constants.IS_TEAM_DRIVE && !isFolder)) {
~~~~~~~~~~~~~
src/drive/drive-upload.ts:76:17 - error TS2339: Property 'DRIVE_FILE_PRIVATE' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
76 if (constants.DRIVE_FILE_PRIVATE && constants.DRIVE_FILE_PRIVATE.ENABLED) {
~~~~~~~~~~~~~~~~~~
src/drive/drive-upload.ts:76:49 - error TS2339: Property 'DRIVE_FILE_PRIVATE' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
76 if (constants.DRIVE_FILE_PRIVATE && constants.DRIVE_FILE_PRIVATE.ENABLED) {
~~~~~~~~~~~~~~~~~~
src/drive/drive-upload.ts:79:33 - error TS2339: Property 'DRIVE_FILE_PRIVATE' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
79 for (var email of constants.DRIVE_FILE_PRIVATE.EMAILS) {
~~~~~~~~~~~~~~~~~~
src/index.ts:577:19 - error TS2339: Property 'IS_TEAM_DRIVE' does not exist on type '{ readonly TOKEN: string; readonly ARIA_SECRET: string; readonly ARIA_DOWNLOAD_LOCATION: string; readonly ARIA_DOWNLOAD_LOCATION_ROOT: string; readonly ARIA_FILTERED_DOMAINS: any[]; ... 6 more ...; readonly DOWNLOAD_NOTIFY_TARGET: { ...; }; }'.
577 if (constants.IS_TEAM_DRIVE && isFolder) {
~~~~~~~~~~~~~
Found 9 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: npx typescript && NTBA_FIX_319=1 node --max_old_space_size=128 ./out/index.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
from aria-telegram-mirror-bot.
Did u run tsc command
from aria-telegram-mirror-bot.
not needed anymore , wow , so can we run it on low ram config ? like less than 1gb ram config.
from aria-telegram-mirror-bot.
not needed anymore , wow , so can we run it on low ram config ? like less than 1gb ram config.
Not needed as in
npm start
runs it. If you can't run the typescript compiler, you could just compile it on your local pc, then push ./out to the server.
thank you for the reply, that a really nice addition.
from aria-telegram-mirror-bot.
@out386 Thanks you for your support! Glad it helped @begginer-123 too 😄
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.
- 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.