Created
July 14, 2020 17:27
-
-
Save Monoverde888/5820c9a089f2419c709727815c7fba3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft Windows [Versión 10.0.19041.329] | |
(c) 2020 Microsoft Corporation. Todos los derechos reservados. | |
C:\Users\Usuario1\Desktop\infinitybot>npm start | |
> infinitybot@0.0.2 start C:\Users\Usuario1\Desktop\infinitybot | |
> echo Iniciando bot.. && node bot.js | |
Iniciando bot.. | |
Bot iniciado correctamente, soy Infinity#9449 | |
Unido a un canal de voz | |
C:\Users\Usuario1\Desktop\infinitybot\node_modules\prism-media\src\opus\OggDemuxer.js:56 | |
throw Error(`capture_pattern is not ${OGGS_HEADER}`); | |
^ | |
Error: capture_pattern is not OggS | |
at OggDemuxer._readPage (C:\Users\Usuario1\Desktop\infinitybot\node_modules\prism-media\src\opus\OggDemuxer.js:56:13) | |
at OggDemuxer._transform (C:\Users\Usuario1\Desktop\infinitybot\node_modules\prism-media\src\opus\OggDemuxer.js:36:27) | |
at OggDemuxer.Transform._read (_stream_transform.js:191:10) | |
at OggDemuxer.Transform._write (_stream_transform.js:179:12) | |
at doWrite (_stream_writable.js:403:12) | |
at writeOrBuffer (_stream_writable.js:387:5) | |
at OggDemuxer.Writable.write (_stream_writable.js:318:11) | |
at ReadStream.ondata (_stream_readable.js:695:22) | |
at ReadStream.emit (events.js:310:20) | |
at addChunk (_stream_readable.js:286:12) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! infinitybot@0.0.2 start: `echo Iniciando bot.. && node bot.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the infinitybot@0.0.2 start script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! C:\Users\Usuario1\AppData\Roaming\npm-cache\_logs\2020-07-14T17_20_21_543Z-debug.log | |
C:\Users\Usuario1\Desktop\infinitybot>npm start | |
> infinitybot@0.0.2 start C:\Users\Usuario1\Desktop\infinitybot | |
> echo Iniciando bot.. && node bot.js | |
Iniciando bot.. | |
Bot iniciado correctamente, soy Infinity#9449 | |
¿Desea terminar el trabajo por lotes (S/N)? s | |
C:\Users\Usuario1\Desktop\infinitybot>pm2 --help | |
[PM2] Spawning PM2 daemon with pm2_home=C:\Users\Usuario1\.pm2 | |
[PM2 I/O] Using: Public key: xgdi6v06dx4oqxa | Private key: ft3tinxx4vgwpw1 | Machine name: Consuelo2-1e68 | |
[PM2.IO][WARNING] Not managed to connect to PM2 Plus, retrying in background. | |
[PM2] PM2 Successfully daemonized | |
Usage: pm2 [cmd] app | |
Options: | |
-V, --version output the version number | |
-v --version print pm2 version | |
-s --silent hide all messages | |
--ext <extensions> watch only this file extensions | |
-n --name <name> set a name for the process in the process list | |
-m --mini-list display a compacted list without formatting | |
--interpreter <interpreter> set a specific interpreter to use for executing app, default: node | |
--interpreter-args <arguments> set arguments to pass to the interpreter (alias of --node-args) | |
--node-args <node_args> space delimited arguments to pass to node | |
-o --output <path> specify log file for stdout | |
-e --error <path> specify log file for stderr | |
-l --log [path] specify log file which gathers both stdout and stderr | |
--filter-env [envs] filter out outgoing global values that contain provided strings (default: ) | |
--log-type <type> specify log output style (raw by default, json optional) | |
--log-date-format <date format> add custom prefix timestamp to logs | |
--time enable time logging | |
--disable-logs disable all logs storage | |
--env <environment_name> specify which set of environment variables from ecosystem file must be injected | |
-a --update-env force an update of the environment with restart/reload (-a <=> apply) | |
-f --force force actions | |
-i --instances <number> launch [number] instances (for networked app)(load balanced) | |
--parallel <number> number of parallel actions (for restart/reload) | |
--shutdown-with-message shutdown an application with process.send('shutdown') instead of process.kill(pid, SIGINT) | |
-p --pid <pid> specify pid file | |
-k --kill-timeout <delay> delay before sending final SIGKILL signal to process | |
--listen-timeout <delay> listen timeout on application reload | |
--max-memory-restart <memory> Restart the app if an amount of memory is exceeded (in bytes) | |
--restart-delay <delay> specify a delay between restarts (in milliseconds) | |
--exp-backoff-restart-delay <delay> specify a delay between restarts (in milliseconds) | |
-x --execute-command execute a program using fork system | |
--max-restarts [count] only restart the script COUNT times | |
-u --user <username> define user when generating startup script | |
--uid <uid> run target script with <uid> rights | |
--gid <gid> run target script with <gid> rights | |
--namespace <ns> start application within specified namespace | |
--cwd <path> run target script from path <cwd> | |
--hp <home path> define home path when generating startup script | |
--wait-ip override systemd script to wait for full internet connectivity to launch pm2 | |
--service-name <name> define service name when generating startup script | |
-c --cron <cron_pattern> restart a running process based on a cron pattern | |
-w --write write configuration in local folder | |
--no-daemon run pm2 daemon in the foreground if it doesn't exist already | |
--source-map-support force source map support | |
--only <application-name> with json declaration, allow to only act on one application | |
--disable-source-map-support force source map support | |
--wait-ready ask pm2 to wait for ready event from your app | |
--merge-logs merge logs from different instances but keep error and out separated | |
--watch [paths] watch application folder for changes (default: ) | |
--ignore-watch <folders|files> List of paths to ignore (name or regex) | |
--watch-delay <delay> specify a restart delay after changing files (--watch-delay 4 (in sec) or 4000ms) | |
--no-color skip colors | |
--no-vizion start an app without vizion feature (versioning control) | |
--no-autorestart start an app without automatic restart | |
--no-treekill Only kill the main process, not detached children | |
--no-pmx start an app without pmx | |
--no-automation start an app without pmx | |
--trace enable transaction tracing with km | |
--disable-trace disable transaction tracing with km | |
--attach attach logging after your start/restart/stop/reload | |
--v8 enable v8 data collecting | |
--event-loop-inspector enable event-loop-inspector dump in pmx | |
--deep-monitoring enable all monitoring tools (equivalent to --v8 --event-loop-inspector --trace) | |
-h, --help output usage information | |
Commands: | |
start [options] [name|namespace|file|ecosystem|id...] start and daemonize an app | |
trigger <id|proc_name|namespace|all> <action_name> [params] trigger process action | |
deploy <file|environment> deploy your json | |
startOrRestart <json> start or restart JSON file | |
startOrReload <json> start or gracefully reload JSON file | |
pid [app_name] return pid of [app_name] or all | |
create return pid of [app_name] or all | |
startOrGracefulReload <json> start or gracefully reload JSON file | |
stop [options] <id|name|namespace|all|json|stdin...> stop a process | |
restart [options] <id|name|namespace|all|json|stdin...> restart a process | |
scale <app_name> <number> scale up/down a process in cluster mode depending on total_number param | |
profile:mem [time] Sample PM2 heap memory | |
profile:cpu [time] Profile PM2 cpu | |
reload <id|name|namespace|all> reload processes (note that its for app using HTTP/HTTPS) | |
id <name> get process id by name | |
inspect <name> inspect a process | |
delete|del <name|id|namespace|script|all|json|stdin...> stop and delete a process from pm2 process list | |
sendSignal <signal> <pm2_id|name> send a system signal to the target process | |
ping ping pm2 daemon - if not up it will launch it | |
updatePM2 update in-memory PM2 with local PM2 | |
update (alias) update in-memory PM2 with local PM2 | |
install|module:install [options] <module|git:/> install or update a module and run it forever | |
module:update <module|git:/> update a module and run it forever | |
module:generate [app_name] Generate a sample module in current folder | |
┌─ Process List ────────────────────────────────────────┐┌── InfinityBot Logs ──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | |
│[ 0] InfinityBot Mem: 34 MB CPU: 0 % online ││ InfinityBot > Info ejecutado por Monoverde#6288 │ | |
│ ││ InfinityBot > Unido a un canal de voz │ | |
│ ││ InfinityBot > Error: capture_pattern is not OggS │ | |
│ ││ InfinityBot > at OggDemuxer._readPage (C:\Users\Usuario1\Desktop\infinitybot\node_modules\prism-media\src\opus\OggDemuxer.js: │ | |
│ ││ InfinityBot > at OggDemuxer._transform (C:\Users\Usuario1\Desktop\infinitybot\node_modules\prism-media\src\opus\OggDemuxer.js │ | |
│ ││ InfinityBot > at OggDemuxer.Transform._read (_stream_transform.js:191:10) │ | |
│ ││ InfinityBot > at OggDemuxer.Transform._write (_stream_transform.js:179:12) │ | |
│ ││ InfinityBot > at doWrite (_stream_writable.js:403:12) │ | |
│ ││ InfinityBot > at writeOrBuffer (_stream_writable.js:387:5) │ | |
│ ││ InfinityBot > at OggDemuxer.Writable.write (_stream_writable.js:318:11) │ | |
│ ││ InfinityBot > at ReadStream.ondata (_stream_readable.js:695:22) │ | |
│ ││ InfinityBot > at ReadStream.emit (events.js:310:20) │ | |
│ ││ InfinityBot > at addChunk (_stream_readable.js:286:12) │ | |
│ ││ InfinityBot > Bot iniciado correctamente, soy Infinity#9449 │ | |
│ ││ InfinityBot > Info ejecutado por Monoverde#6288 │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
│ ││ │ | |
└───────────────────────────────────────────────────────┘└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ | |
┌─ Custom Metrics ──────────────────────────────────────┐┌─ Metadata ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | |
│ Heap Size 10.11 MiB ││ App Name InfinityBot │ | |
│ Heap Usage 76.83 % ││ Namespace default │ | |
│ Used Heap Size 7.76 MiB ││ Version 0.0.2 │ | |
│ Active requests 0 ││ Restarts 1 │ | |
│ Active handles 4 ││ Uptime 30s │ | |
│ Event Loop Latency 6.36 ms ││ Script path C:\Users\Usuario1\Desktop\infinitybot\bot.js │ | |
│ Event Loop Latency p95 17.37 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment