MauriceNino / dashdot

A simple, modern server dashboard, primarily used by smaller private servers
https://getdashdot.com/
MIT License
2.53k stars 95 forks source link

[Bug] TypeError: Cannot read properties of undefined (reading 'type') #1056

Open Searchcat37 opened 3 months ago

Searchcat37 commented 3 months ago

Description of the bug

Dash. is failing to start and just errors out.

How to reproduce

  1. install Dash. with
    git clone https://github.com/MauriceNino/dashdot ^
    && cd dashdot ^
    && yarn ^
    && yarn build:prod
  2. run yarn start
  3. Errors

Relevant log output

Version file not found. This is normal on from-source builds.
listening on *:3001
Acquiring Windows Persistent Powershell
Could not get default iface path
Using default network interface with no modifications
Using host os version from "/etc/os-release"
TypeError: Cannot read properties of undefined (reading 'type')
    at C:\Users\Searching-Ti-02\Desktop\dev dashdot\dist\apps\server\main.js:1:1689122
    at Generator.next (<anonymous>)
    at a (C:\Users\Searching-Ti-02\Desktop\dev dashdot\dist\apps\server\main.js:1:3472)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Releasing Windows Persistent Powershell

Info output of dashdot cli

C:\Users\Searching-Ti-02\Desktop\DashDot\dashdot>yarn cli info
INFO
=========
Yarn: 3.7.0
Node: v20.12.2
Dash: unknown

Cwd: C:\Users\Searching-Ti-02\Desktop\DashDot\dashdot
Hash: 5ea18c8b66d05fbbe1c2688ffe4012a6fb67d7e4
Platform: windows32 SearchingTi-02-SNS 2.6.2 9200 i686-pc Intel unknown MinGW
Docker image: $DASHDOT_IMAGE
In Docker: false
In Docker (env): $DASHDOT_RUNNING_IN_DOCKER
In Podman: false

What browsers are you seeing the problem on?

No response

Where is your instance running?

Desktop PC (Windows)

Additional context

No response