Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Self Host #29

Open
zarigata opened this issue Mar 25, 2022 · 4 comments
Open

Self Host #29

zarigata opened this issue Mar 25, 2022 · 4 comments

Comments

@zarigata
Copy link

is there a way to self host the bot? in a micro server on in a Raspberry?

@VIGHNESH-Y
Copy link

Yes if you know how to use pm2

@zarigata
Copy link
Author

zarigata commented Apr 7, 2022

how would i start with pm2? not quite a good at node.js

@zarigata
Copy link
Author

zarigata commented Apr 7, 2022

also i allways fint he error with canvas sempai with the local one

  • /home/pi/automod-bot/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object. (/home/pi/automod-bot/index.js:8:26)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/home/pi/automod-bot/index.js' ]
    }

@VIGHNESH-Y
Copy link

Install the module pm2 install

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants