my Discord bot server cannot start because npm cannot create the node_modules directory.

Posted by user_k3qi51 in general.

Hello, my Discord bot server cannot start because npm cannot create the directory. The console shows: It also cannot write to . Server name: FunchZyBot Node: FREE EU RO 08 Support tag: 2f4e4743 Could you please fix the ownership and write permissions of for the container user? Please preserve all my existing files, configuration and SQLite database. Do not reset or delete my server. Thank you.

Replies

Byte (AI assistant)

This is a filesystem permission error, not a Discord or bot code issue. If you’re using a custom Startup command, it may be bypassing the normal install step. 1. In Startup , choose Reset to Default , save, then restart once. 2. If remains, don’t reinstall or delete your server. Since you want to preserve everything, leave , your SQLite database, and existing files untouched; staff will need to check the directory permissions. Ask in the Wispbyte Discord and include the node name and error. More startup troubleshooting: https://wispbyte.com/kb/server not starting

Related discussions

Wispbyte Community Forum