broken vl2png install
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js, typescript
Research direction
Start by reproducing the GitHub Actions workflow shown in the issue, especially the setup-cml step and the vl2png vega.json command. Inspect how Node and Vega utilities are installed, then verify that the command runs without the reported structuredClone error in the CML container.
Written by the indexing model from the issue text.
Description
It looks like the versions of node and vega utils are getting messed up
train:
needs: deploy-runner
runs-on: [self-hosted, cml]
...
container:
# CML 0 DVC 3 UBUNTU 20.04
image: docker://ghcr.io/iterative/cml:0-dvc3-base1
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11.5"
- uses: iterative/setup-dvc@v1
- uses: iterative/setup-cml@v2
run: |
...
dvc plots show --show-vega plots/roc.yaml >vega.json
vl2png vega.json >ROC.png
+ vl2png vega.json
/usr/lib/node_modules/vega-lite/build/vega-lite.js:219
const duplicate = structuredClone;
^
ReferenceError: structuredClone is not defined
at /usr/lib/node_modules/vega-lite/build/vega-lite.js:219:21
at /usr/lib/node_modules/vega-lite/build/vega-lite.js:2:66
at Object.<anonymous> (/usr/lib/node_modules/vega-lite/build/vega-lite.js:5:3)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/usr/lib/node_modules/vega-lite/bin/render.js:7:18)
Error: Process completed with exit code 1.```
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from iterative/setup-cml
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Add License?May be free again @casperdcl claimed this 1897 days ago, and no pull request is open. Open
All issues in iterative/setup-cml
Similar issues
-
clawsweeper:intake:bug clawsweeper:intake:needs-environment
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openclaw/openclaw#212827 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Use one constant for the 10,000-character input limitPossibly taken @NginxL claimed this today. Opengood first issue refactor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aniru-dh21/snap-validate#51 ·
Maintainers usually reply within 1 day
-
dependencies effort: small good first issue priority: low
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
TMHSDigital/screencast-mcp#509 ·
Maintainers usually reply within 1 day
-
from-review tech-debt testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
blamechris/chroxy#9520 ·
Maintainers usually reply within 1 day