Update setup.md (#294)
Add pnpm troubleshooting step if you don't have node-gyp installed & also add pnpm run build to the instructions.
This commit is contained in:
parent
66fcd3fe12
commit
6a321fe052
1 changed files with 10 additions and 1 deletions
|
@ -106,6 +106,7 @@ cd ~
|
|||
git clone --recurse-submodules https://github.com/esmBot/esmBot
|
||||
cd esmBot
|
||||
pnpm install
|
||||
pnpm run build
|
||||
```
|
||||
You'll also need to copy over some fonts for the image commands:
|
||||
```sh
|
||||
|
@ -186,6 +187,14 @@ If you wish to update the bot to the latest version/commit at any time, just run
|
|||
### Error: Cannot find module './build/Release/image.node'
|
||||
The native image functions haven't been built. Run `pnpm run build` to build them.
|
||||
|
||||
### PNpm fails with error 'ELIFECYCLE Command failed.'
|
||||
You seem to be missing node-gyp, this can be fixed by running:
|
||||
```sh
|
||||
pnpm -g install node-gyp
|
||||
rm -r node_modules
|
||||
pnpm install
|
||||
```
|
||||
|
||||
### Error: connect ECONNREFUSED 127.0.0.1:5432
|
||||
PostgreSQL isn't running, you should be able to start it with `sudo systemctl start postgresql`. If you don't intend to use PostgreSQL, you should take another look at your `DB` variable in the .env file.
|
||||
|
||||
|
@ -202,4 +211,4 @@ Make sure Lavalink is running and started up completely. The bot skips loading s
|
|||
|
||||
***
|
||||
|
||||
If you have any further questions regarding self-hosting, feel free to ask in the #self-hosting-support channel on the [esmBot Support server](https://projectlounge.pw/support).
|
||||
If you have any further questions regarding self-hosting, feel free to ask in the #self-hosting-support channel on the [esmBot Support server](https://projectlounge.pw/support).
|
||||
|
|
Loading…
Reference in a new issue