@Arti_Gaund I did a test on my end and everything work as expected. Can you update with master and retry please.
Clone a fresh and updated fork in your /home dir (might have some permission issues on /mnt)
Make sure go is perfectly installed (try reinstalling once ) v1.23.4
Check go version, it should be >=1.23.1
Check node is up to date or not (v20 or >=18)
I am using go version go1.23.4 and Node.js v20.19.0. Still I have to clone a fresh and updated fork ?
Yes clone it in the /home dir in wsl also make sure go is working properly (maybe your installation is broken or something) .
I tried this in wsl 2 x86
So. Try using wsl 2
I am still getting these error
fatal: No names found, cannot describe anything.
cd server; cd cmd; go mod tidy; \
BUILD="" \
PROVIDER_BASE_URLS="https://cloud.layer5.io" \
PORT=9081 \
DEBUG=true \
APP_PATH="./apps.json" \
KEYS_PATH="../../server/permissions/keys.csv" \
go run main.go error.go;
go: downloading github.com/layer5io/meshkit v0.8.19
go: downloading github.com/meshery/schemas v0.7.45
go: downloading github.com/layer5io/meshery-operator v0.8.3
go: downloading k8s.io/api v0.32.1
# k8s.io/api/admissionregistration/v1alpha1
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:28:38: could not import k8s.io/api/admissionregistration/v1 (EOF)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:1068:13: m.Expression undefined (type *MatchCondition has no field or method Expression)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:1069:19: m.Expression undefined (type *MatchCondition has no field or method Expression)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:1070:50: m.Expression undefined (type *MatchCondition has no field or method Expression)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:1073:13: m.Name undefined (type *MatchCondition has no field or method Name)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:1074:19: m.Name undefined (type *MatchCondition has no field or method Name)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:1075:50: m.Name undefined (type *MatchCondition has no field or method Name)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:2268:12: m.Name undefined (type *MatchCondition has no field or method Name)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:2270:12: m.Expression undefined (type *MatchCondition has no field or method Expression)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:2750:36: this.Name undefined (type *MatchCondition has no field or method Name)
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1alpha1/generated.pb.go:2750:36: too many errors
# k8s.io/api/admissionregistration/v1beta1
/root/go/pkg/mod/k8s.io/api@v0.32.1/admissionregistration/v1beta1/generated.pb.go:28:6: could not import k8s.io/api/admissionregistration/v1 (EOF)
make: *** [Makefile:162: server] Error 1
root@DESKTOP-RKT0J2E:/mnt/e/Projects/meshery#```
Try re installing to and run it from /home