Skip to content

web-dashboard #8

@zmylerzenon69

Description

@zmylerzenon69

PS C:\Users\Administrator> cd GhidraInsight
PS C:\Users\Administrator\GhidraInsight> docker-compose up -d
time="2026-02-04T20:43:18+01:00" level=warning msg="C:\Users\Administrator\GhidraInsight\docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
#1 [internal] load local bake definitions
#1 reading from stdin 1.59kB 0.0s done
#1 DONE 0.0s

#2 [python-mcp internal] load build definition from Dockerfile
#2 transferring dockerfile: 760B 0.0s done
#2 DONE 0.1s

#3 [ghidra-plugin internal] load build definition from Dockerfile.ghidra
#3 transferring dockerfile: 998B 0.0s done
#3 DONE 0.1s

#4 [web-dashboard internal] load build definition from Dockerfile
#4 transferring dockerfile: 602B 0.0s done
#4 DONE 0.1s

#5 [python-mcp internal] load metadata for docker.io/library/python:3.11-slim
#5 ...

#6 [web-dashboard internal] load metadata for docker.io/library/node:18-alpine
#6 DONE 0.6s

#5 [python-mcp internal] load metadata for docker.io/library/python:3.11-slim
#5 DONE 0.6s

#7 [python-mcp internal] load .dockerignore
#7 transferring context: 2B done
#7 DONE 0.0s

#8 [web-dashboard internal] load .dockerignore
#8 transferring context: 2B 0.0s done
#8 DONE 0.0s

#9 [python-mcp internal] load build context
#9 DONE 0.0s

#10 [web-dashboard internal] load build context
#10 DONE 0.0s

#11 [python-mcp 1/6] FROM docker.io/library/python:3.11-slim@sha256:d0d43a8b0c352c215cd1381f3f4d7ac34cf3440cd0415873451d7affca53a769
#11 resolve docker.io/library/python:3.11-slim@sha256:d0d43a8b0c352c215cd1381f3f4d7ac34cf3440cd0415873451d7affca53a769
#11 resolve docker.io/library/python:3.11-slim@sha256:d0d43a8b0c352c215cd1381f3f4d7ac34cf3440cd0415873451d7affca53a769 0.1s done
#11 DONE 0.1s

#12 [python-mcp 2/6] WORKDIR /app
#12 CACHED

#13 [web-dashboard builder 1/6] FROM docker.io/library/node:18-alpine@sha256:8d6421d663b4c28fd3ebc498332f249011d118945588d0a35cb9bc4b8ca09d9e
#13 resolve docker.io/library/node:18-alpine@sha256:8d6421d663b4c28fd3ebc498332f249011d118945588d0a35cb9bc4b8ca09d9e 0.1s done
#13 DONE 0.1s

#14 [web-dashboard builder 2/6] WORKDIR /app
#14 CACHED

#15 [web-dashboard stage-1 3/5] RUN npm install -g serve
#15 CACHED

#10 [web-dashboard internal] load build context
#10 transferring context: 721B 0.0s done
#10 DONE 0.0s

#9 [python-mcp internal] load build context
#9 transferring context: 2.55kB 0.0s done
#9 DONE 0.1s

#16 [web-dashboard builder 3/6] COPY package.json package-lock.json ./
#16 CACHED

#17 [web-dashboard builder 4/6] RUN npm ci
#17 CACHED

#18 [web-dashboard builder 5/6] COPY . .
#18 CACHED

#19 [web-dashboard builder 6/6] RUN npm run build
#19 ...

#20 [ghidra-plugin internal] load metadata for docker.io/blacktop/ghidra:11.0.3
#20 DONE 1.1s

#21 [ghidra-plugin internal] load .dockerignore
#21 transferring context: 2B 0.0s done
#21 DONE 0.0s

#22 [ghidra-plugin internal] load build context
#22 DONE 0.0s

#23 [ghidra-plugin 1/9] FROM docker.io/blacktop/ghidra:11.0.3@sha256:c2f3837fb6295c5eb83e74d4c8984ced32c89d4daab21b3a83c1e4fa0976bf23
#23 resolve docker.io/blacktop/ghidra:11.0.3@sha256:c2f3837fb6295c5eb83e74d4c8984ced32c89d4daab21b3a83c1e4fa0976bf23 0.1s done
#23 ...

#22 [ghidra-plugin internal] load build context
#22 transferring context: 2.11kB 0.0s done
#22 DONE 0.1s

#23 [ghidra-plugin 1/9] FROM docker.io/blacktop/ghidra:11.0.3@sha256:c2f3837fb6295c5eb83e74d4c8984ced32c89d4daab21b3a83c1e4fa0976bf23
#23 extracting sha256:7f0b251e57b921e84ffecd4f5e5f811f1d9776e7b1fc533531f88999514fd78c
#23 ...

#24 [python-mcp 3/6] RUN apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/*
#24 0.862 Hit:1 http://deb.debian.org/debian trixie InRelease
#24 0.862 Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
#24 0.906 Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
#24 0.970 Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
#24 3.454 Get:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages [5412 B]
#24 3.468 Get:6 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [98.8 kB]
#24 5.813 Fetched 9865 kB in 5s (1927 kB/s)
#24 5.813 Reading package lists...
#24 8.288 Reading package lists...
#24 10.99 Building dependency tree...
#24 11.55 Reading state information...
#24 ...

#19 [web-dashboard builder 6/6] RUN npm run build
#19 1.761
#19 1.761 > web-dashboard@1.0.0 build
#19 1.761 > tsc && vite build
#19 1.761
#19 11.29 src/components/AnalysisPanel.tsx(247,72): error TS1382: Unexpected token. Did you mean {'>'} or >?
#19 11.30 src/components/AnalysisPanel.tsx(248,72): error TS1382: Unexpected token. Did you mean {'>'} or >?
#19 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2

#24 [python-mcp 3/6] RUN apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/*
#24 ...

#23 [ghidra-plugin 1/9] FROM docker.io/blacktop/ghidra:11.0.3@sha256:c2f3837fb6295c5eb83e74d4c8984ced32c89d4daab21b3a83c1e4fa0976bf23
#23 extracting sha256:7f0b251e57b921e84ffecd4f5e5f811f1d9776e7b1fc533531f88999514fd78c 11.6s done
#23 DONE 11.7s

#25 [ghidra-plugin 2/9] RUN apt-get update && apt-get install -y gradle maven git curl && rm -rf /var/lib/apt/lists/*
#25 CANCELED

#24 [python-mcp 3/6] RUN apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/*
#24 CANCELED

[web-dashboard builder 6/6] RUN npm run build:
1.761
1.761 > web-dashboard@1.0.0 build
1.761 > tsc && vite build
1.761
11.29 src/components/AnalysisPanel.tsx(247,72): error TS1382: Unexpected token. Did you mean {'>'} or >?
11.30 src/components/AnalysisPanel.tsx(248,72): error TS1382: Unexpected token. Did you mean {'>'} or >?


[+] up 0/3

  • Image ghidrainsight-ghidra-plugin Building 14.6s
  • Image ghidrainsight-python-mcp Building 14.6s
  • Image ghidrainsight-web-dashboard Building 14.6s
    Dockerfile:11

9 | COPY . .

10 |

11 | >>> RUN npm run build

12 |

13 | # Production stage


target web-dashboard: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2

possible fix ? -- notepad C:\Users\Administrator\GhidraInsight\web-dashboard\src\components\AnalysisPanel.tsx

tsx// before (wrong):

text > more text

// after (good):

text {' > '} more text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions