# Installing "node-red-contrib-discord-advanced" causing crash of my node-red

**URL:** https://discourse.nodered.org/t/installing-node-red-contrib-discord-advanced-causing-crash-of-my-node-red/83539
**Category:** General
**Created:** [9 December 2023 00:26 UTC](https://discourse.nodered.org/t/installing-node-red-contrib-discord-advanced-causing-crash-of-my-node-red/83539 "2023-12-09T00:26:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![striker67](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@striker67](https://discourse.nodered.org/u/striker67)
#### Post date: [9 December 2023 00:26 UTC](https://discourse.nodered.org/t/installing-node-red-contrib-discord-advanced-causing-crash-of-my-node-red/83539/1 "2023-12-09T00:26:02Z")

</div>

Hello all

i just install the node-red-contrib-discord-advanced today and my node red is not available anymore. I am unable to restart it.

this is the starting message i have received from the command line

# Welcome to Node-RED

8 Dec 17:20:49 - [info] Node-RED version: v3.1.0  
8 Dec 17:20:49 - [info] Node.js version: v18.17.1  
8 Dec 17:20:49 - [info] Linux 6.1.21-v8+ arm64 LE  
8 Dec 17:20:50 - [info] Loading palette nodes  
8 Dec 17:20:59 - [info] Dashboard version 3.6.1 started at /ui  
/bin/bash: warning: setlocale: LC\_ALL: cannot change locale (ca\_FR.UTF-8)  
8 Dec 17:21:01 - [info] Settings file : /home/openhabian/.node-red/settings.js  
8 Dec 17:21:01 - [info] Context store : 'default' [module=memory]  
8 Dec 17:21:01 - [info] User directory : /home/openhabian/.node-red  
8 Dec 17:21:01 - [warn] Projects disabled : editorTheme.projects.enabled=false  
8 Dec 17:21:01 - [info] Flows file : /home/openhabian/.node-red/flows.json  
8 Dec 17:21:02 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
8 Dec 17:21:02 - [warn] Using unencrypted credentials  
8 Dec 17:21:02 - [info] Starting flows  
8 Dec 17:21:02 - [info] [hue-bridge:Bridge sous-sol] Initializing the bridge (192.168.1.160)…  
8 Dec 17:21:02 - [info] KNX-Unsecure: connection to insecure interface/router using node KNX Gateway  
8 Dec 17:21:05 - [info] Started flows  
8 Dec 17:21:05 - [info] [hue-bridge:Bridge sous-sol] Connected to bridge  
8 Dec 17:21:05 - [red] Uncaught Exception:  
8 Dec 17:21:05 - [error] Error [TokenInvalid]: An invalid token was provided.  
at WebSocketManager.connect (/home/openhabian/.node-red/node\_modules/discord.js/src/client/websocket/WebSocketManager.js:136:26)  
at Client.login (/home/openhabian/.node-red/node\_modules/discord.js/src/client/Client.js:228:21)  
at /home/openhabian/.node-red/node\_modules/node-red-contrib-discord-advanced/discord/lib/discordBotManager.js:28:11  
at new Promise ()  
at Object.getBot (/home/openhabian/.node-red/node\_modules/node-red-contrib-discord-advanced/discord/lib/discordBotManager.js:6:17  
at new discordMember (/home/openhabian/.node-red/node\_modules/node-red-contrib-discord-advanced/discord/discordMember.js:10:23)  
at Object.createNode (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/util.js:157:27)  
at Flow.start (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/Flow.js:260:54)  
at async Object.start [as startFlows] (/usr/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/index.js:398:17)

Someone can guide for a walk around?  
If i reinstall node red. Will i lost all the previous node?

Note: i think that the token i provide has cause the problem

Thank's in advance

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [9 December 2023 01:41 UTC](https://discourse.nodered.org/t/installing-node-red-contrib-discord-advanced-causing-crash-of-my-node-red/83539/2 "2023-12-09T01:41:30Z")

</div>

> [@striker67](#):
>
> Someone can guide for a walk around?  
> If i reinstall node red. Will i lost all the previous node?
> 
> Note: i think that the token i provide has cause the problem

Just start node-red in safe mode (search forum for safe mode), fix your error then deploy

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 February 2024 01:42 UTC](https://discourse.nodered.org/t/installing-node-red-contrib-discord-advanced-causing-crash-of-my-node-red/83539/3 "2024-02-07T01:42:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
