diff --git a/docs/setup.md b/docs/setup.md index 9762d27..ee9a054 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -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). \ No newline at end of file +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).