"MODULE_NOT_FOUND" when update node-red-dashboard to 3.6.5

So I was cloning my project and I have to start all over I install the palette that I have already install before but it for some reason 'node-red-dashboard' is bug for me.
here is what I have.


and here is what I have now.

Go into your user directory (usually ~/.node-red) and run

npm remove node-red-dashboard
npm install node-red-dashboard

and post the full output here. Copy/paste please, not screenshot. If there are no errors shown then don't bother posting, just restart node-red.

sorry but it look like I got bug again, it happen when I update the dashboard and the same thing happen, so I did what you told and
here is what happen when I do "npm install node-red-dashboard"

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-svg-gauge@1.0.10
npm WARN Found: react@18.2.0
npm WARN node_modules/react
npm WARN peer react@">=16.8.0" from @emotion/react@11.11.4
npm WARN node_modules/@emotion/react
npm WARN peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.11.0
npm WARN node_modules/@emotion/styled
npm WARN 4 more (@mui/material, @mui/styled-engine, @mui/system, @soop-sasm/node-red-soop-dashboard)
npm WARN 23 more (@emotion/styled, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.5.2" from react-svg-gauge@1.0.10
npm WARN node_modules/react-svg-gauge
npm WARN react-svg-gauge@"^1.0.10" from @soop-sasm/node-red-soop-dashboard@1.1.1
npm WARN node_modules/@soop-sasm/node-red-soop-dashboard
npm WARN
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN peer react@"^16.5.2" from react-svg-gauge@1.0.10
npm WARN node_modules/react-svg-gauge
npm WARN react-svg-gauge@"^1.0.10" from @soop-sasm/node-red-soop-dashboard@1.1.1
npm WARN node_modules/@soop-sasm/node-red-soop-dashboard
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-svg-gauge@1.0.10
npm WARN Found: react-dom@18.2.0
npm WARN node_modules/react-dom
npm WARN peer react-dom@">=16.8.0" from @floating-ui/react-dom@2.0.8
npm WARN node_modules/@floating-ui/react-dom
npm WARN @floating-ui/react-dom@"^2.0.8" from @mui/base@5.0.0-beta.38
npm WARN node_modules/@mui/base
npm WARN 9 more (@mui/base, @mui/material, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"^16.5.2" from react-svg-gauge@1.0.10
npm WARN node_modules/react-svg-gauge
npm WARN react-svg-gauge@"^1.0.10" from @soop-sasm/node-red-soop-dashboard@1.1.1
npm WARN node_modules/@soop-sasm/node-red-soop-dashboard
npm WARN
npm WARN Conflicting peer dependency: react-dom@16.14.0
npm WARN node_modules/react-dom
npm WARN peer react-dom@"^16.5.2" from react-svg-gauge@1.0.10
npm WARN node_modules/react-svg-gauge
npm WARN react-svg-gauge@"^1.0.10" from @soop-sasm/node-red-soop-dashboard@1.1.1
npm WARN node_modules/@soop-sasm/node-red-soop-dashboard

added 6 packages, and audited 463 packages in 3s

42 packages are looking for funding
run npm fund for details

20 vulnerabilities (5 moderate, 9 high, 6 critical)

To address issues that do not require attention, run:
npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.

also this is what shown when I start node-red

Welcome to Node-RED

18 May 18:00:14 - [info] Node-RED version: v3.1.9
18 May 18:00:14 - [info] Node.js version: v18.16.1
18 May 18:00:14 - [info] Windows_NT 10.0.22631 x64 LE
18 May 18:00:16 - [info] Loading palette nodes
18 May 18:00:17 - [info] Dashboard version 1.0.2 started at /ui
18 May 18:00:18 - [warn] ------------------------------------------------------
18 May 18:00:18 - [warn] [node-red-dashboard/ui_base] 'ui_base' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_button] 'ui_button' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_dropdown] 'ui_dropdown' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_switch] 'ui_switch' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_slider] 'ui_slider' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_numeric] 'ui_numeric' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_text_input] 'ui_text_input' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_date_picker] 'ui_date_picker' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_colour_picker] 'ui_colour_picker' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_form] 'ui_form' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_text] 'ui_text' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_gauge] 'ui_gauge' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_chart] 'ui_chart' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_audio] 'ui_audio' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_toast] 'ui_toast' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_ui_control] 'ui_ui_control' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_template] 'ui_template' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_link] 'ui_link' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_tab] 'ui_tab' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_group] 'ui_group' already registered by module dashboard-evi
18 May 18:00:18 - [warn] [node-red-dashboard/ui_spacer] 'ui_spacer' already registered by module dashboard-evi
18 May 18:00:18 - [warn] ------------------------------------------------------
18 May 18:00:18 - [info] Settings file : C:\Users\Admin.node-red\settings.js
18 May 18:00:18 - [info] Context store : 'default' [module=memory]
18 May 18:00:18 - [info] User directory : \Users\Admin.node-red
18 May 18:00:18 - [warn] Projects disabled : editorTheme.projects.enabled=false
18 May 18:00:18 - [info] Flows file : \Users\Admin.node-red\flows.json
18 May 18:00:18 - [info] Server now running at http://127.0.0.1:1880/
18 May 18:00:18 - [warn]


Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

18 May 18:00:18 - [info] Starting flows
18 May 18:00:18 - [info] Dashboard version 3.6.5 started at /ui
18 May 18:00:18 - [error]


Unexpected Node Error


Info:
Node object is not a node-red Node
Stack:
TypeError: Cannot read properties of undefined (reading 'base-color')
at new JoystickNode (C:\Users\Admin\node_modules\node-red-contrib-ui-joystick\joystick.js:68:41)
at Object.createNode (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\util.js:190:27)
at Flow.start (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\Flow.js:261:54)
at Object.start [as startFlows] (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\index.js:403:17)

Please report this issue, including the information logged above:


Trace: TypeError: Cannot read properties of undefined (reading 'base-color')
at new JoystickNode (C:\Users\Admin\node_modules\node-red-contrib-ui-joystick\joystick.js:68:41)
at Object.createNode (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\util.js:190:27)
at Flow.start (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\Flow.js:261:54)
at Object.start [as startFlows] (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\index.js:403:17)
at new JoystickNode (C:\Users\Admin\node_modules\node-red-contrib-ui-joystick\joystick.js:289:21)
at Object.createNode (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\util.js:190:27)
at Flow.start (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\Flow.js:261:54)
at Object.start [as startFlows] (C:\Users\Admin\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\runtime\lib\flows\index.js:403:17)
18 May 18:00:18 - [error] [ui_joystick:1dfc08b85b90a209] TypeError: Cannot read properties of undefined (reading 'push')
18 May 18:00:18 - [info] Started flows
18 May 18:00:18 - [info] [mqtt-broker:812dd7f6257aac85] Connected to broker: mqtt://vniot.ddns.net:1883

Looks like you have 2 or maybe 3 dashboards clashing.

I recommend uninstalling dashboard-evi and node-red-contrib-dashbored (note the bored NOT board)

yes it is dashboard-evi that the cause, I just remove it. thank you for the save

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