You passed --props but it was neither valid JSON nor a file path to a valid JSON file.
PeerRich opened this issue · 3 comments
PeerRich commented
https://github.com/calcom/stargazer/runs/5265669230?check_suite_focus=true
freshly forked, ran on the example project
npm run build -- --props="$WORKFLOW_INPUT"
shell: /usr/bin/bash -e {0}
env:
WORKFLOW_INPUT: {
"duration": "15",
"repoName": "didact",
"repoOrg": "pomber",
"starCount": "100"
}
REMOTION_GITHUB_TOKEN: ***
> stargazer@1.0.0 build
> remotion render src/index.js main out.mp[4](https://github.com/calcom/stargazer/runs/5265669230?check_suite_focus=true#step:7:4) --log verbose "--props={\n \"duration\": \"1[5](https://github.com/calcom/stargazer/runs/5265669230?check_suite_focus=true#step:7:5)\",\n \"repoName\": \"didact\",\n \"repoOrg\": \"pomber\",\n \"starCount\": \"[10](https://github.com/calcom/stargazer/runs/5265669230?check_suite_focus=true#step:7:10)0\"\n}"
You passed --props but it was neither valid JSON nor a file path to a valid JSON file.
Check that your input is parseable using `JSON.parse` and try again.
Got the following value: {\n "duration": "[15](https://github.com/calcom/stargazer/runs/5265669230?check_suite_focus=true#step:7:15)",\n "repoName": "didact",\n "repoOrg": "pomber",\n "starCount": "100"\n}
Error: Process completed with exit code 1.
PeerRich commented
haven't made any changes, and last successful run was 6 months: https://github.com/calcom/stargazer/actions/runs/1176894362
JonnyBurger commented
Hey Peer, saw this issue today, this was due to a change in how GitHub runners parse environment variables, if you still want to make your videos, you should be able to pull the latest changes from upstream, add a GitHub token and it should work again!
JonnyBurger commented
This has been solved since