-
Hey all, I created this issue last week: #690, and took a stab at fixing it in this PR #691. Maybe I should've created a discussion here to get focus on it though? The problem is Tea panics: $ tea -SE
pantries sync’d ⎷
panic: spilt tea. we’re sorry and we’ll fix it… but you have to report the bug!
https://github.com/teaxyz/cli/issues/new?title=panic%3Ainvalid+version%3A+undefined
----------------------------------------------------->> attachment begin
Error: invalid version: undefined
at https://deno.land/x/[email protected]/src/utils/semver.ts:44:27
at Array.flatMap (<anonymous>)
at new SemVer (https://deno.land/x/[email protected]/src/utils/semver.ts:25:37)
at https://deno.land/x/[email protected]/src/utils/semver.ts:139:34
at Array.map (<anonymous>)
at new Range (https://deno.land/x/[email protected]/src/utils/semver.ts:121:56)
at supp (file:///private/var/folders/8b/n_gmhmk57ks85swq3mrdbrwc0000gp/T/42af7169/src/hooks/useVirtualEnv.ts:219:29)
at eventLoopTick (ext:core/01_core.js:183:11)
at async default (file:///private/var/folders/8b/n_gmhmk57ks85swq3mrdbrwc0000gp/T/42af7169/src/hooks/useVirtualEnv.ts:52:17)
at async run (file:///private/var/folders/8b/n_gmhmk57ks85swq3mrdbrwc0000gp/T/42af7169/src/app.main.ts:43:30)
<<------------------------------------------------------- attachment end Due to the presence of tea -vvv -SE
pantries sync’d ⎷
{
tea: ".../.tea/tea.xyz/v0.39.6/bin/tea",
deno: "1.36.0",
v8: "11.6.189.12",
typescript: "5.1.6"
}
.../action.yml
error: {
"cause": {
"string": ".../action.yml"
}
} When I move It looks like #L211 assumes there is always a version available? |
Beta Was this translation helpful? Give feedback.
Answered by
jhheider
Aug 23, 2023
Replies: 1 comment 2 replies
-
yes, the fix is almost certainly testing if |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
gaggle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes, the fix is almost certainly testing if
v
is semver, before the pkgs.push line.