Closed ghost closed 1 year ago
What's your nodejs version ? Try with nodejs 16.x
I was running node 14.19, but after installing 16.15 the same output appears (and I recloned the repository so it can't be cached build files or anything).
I am running this on Artix Linux 5.17.4. npm is 8.5.5. Let me know if any other environment inforrmation would hlep.
@yujiri8 What is chectl version you tried to build? Any changes in package.json ?
I checked out the tag v7.41.2. There are no changes in package.json, though yarn.lock did get modified after running yarn.
diff --git a/yarn.lock b/yarn.lock
index 44321fa..407bf99 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2579,7 +2579,7 @@ ecc-jsbn@~0.1.1:
"eclipse-che-operator@https://github.com/eclipse-che/che-operator#main":
version "0.0.0"
- resolved "https://github.com/eclipse-che/che-operator#bb3c53cc6cba197ebab9d2889aa4fc0788c076e8"
+ resolved "https://github.com/eclipse-che/che-operator#73bbeaafeac5abdedbd9e7903fc2a305fb9bbdca"
editorconfig@^0.15.0:
version "0.15.3"
@yujiri8
Something strange, but to fix your problem pls set 7.41.2
instead of main here [1]
[1] https://github.com/che-incubator/chectl/blob/7.41.2/package.json#L25
@tolusha is this issue present in other chectl release branches? Do we need a follow-up issue to fix it?
Ah, Tolusha's suggestion fixed it for me. Thank you.
Actually this issue helped me realize that our release actions behave incorrectly.
This action [1] is triggered once .x
branch is created (even before release PR is merged). So, release sources won't have updated package.json
file.
@mkuznyetsov pls have a look.
Thanks for catching this @yujiri8 :+1:
Issues go stale after 180
days of inactivity. lifecycle/stale
issues rot after an additional 7
days of inactivity and eventually close.
Mark the issue as fresh with /remove-lifecycle stale
in a new comment.
If this issue is safe to close now please do so.
Moderators: Add lifecycle/frozen
label to avoid stale mode.
/remove-lifecycle stale
well, this change has broken the release process because the GH action that creates the release PR needs the branch to exist :) will work on a fix...
https://github.com/che-incubator/chectl/actions/runs/3540932049/jobs/5944574155
Basically we can close this issue now.
package.json
in .x branch contains correct che and devworkspace operators versions.
Summary
Because of the situation with #21366, I'm now stuck in a situation where I don't have a Che cluster deployed and can't redeploy it. I planned to build the old version myself but found that the documentation expects me to develope chectl only from inside Che; is there any documentation on building it outside of itself?
Relevant information
I tried to run
yarn
as instructed, incase that would just work. Here's the output I got: