Skip to content

Running gcpviz errors #1238

@BachateroJ

Description

@BachateroJ

Im trying to run gcpviz on my environment. ive setup everything needed.

now when i created the json, im trying to create a graph:

VirtualBox:~$ ~/go/bin/gcpviz -query-file /home/ubuntu/professional-services/tools/gcpviz/queries/network-basic.js -mode visualize -relations-file /home/ubuntu/professional-services/tools/gcpviz/relations.yaml -labels-file /home/ubuntu/professional-services/tools/gcpviz/labels.yaml -style-file /home/ubuntu/professional-services/tools/gcpviz/style.yaml

I get the following error:

██████  ██████ ██████  ██  ██ ██ ███████ 

██       ██      ██   ██ ██  ██ ██    ███  

██  ███ ██  ██████  ██  ██ ██  ███  

██  ██ ██  ██       ██  ██  ██  ███  

 ██████   ██████ ██   ████   ██ ███████

2024/03/26 17:00:58 Failed to create graph: SyntaxError: (anonymous): Line 116:16 Unexpected token ILLEGAL (and 2 more errors)

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