- 
                Notifications
    
You must be signed in to change notification settings  - Fork 28
 
Common Errors (while developing)
There are some common errors you may encounter while developing or setting up vSwarm, that may be caused by a go module versioning or problems otherwise unrelated to vSwarm itself. Use this doc for help, otherwise contact the maintainer or file an issue.
- 
If you get unknown revision error (
@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000), check the package name, import path, module name again. The package name is probably not supposed to be a URL (make it a path instead), module name can be. - 
Check your go version, go version in files, GO111MODULES is on or not, your directory containing go.mod file is added in go.work or not.
 - 
If problems with gopls, check
go.work, check gopls settings. - 
If you upgrade a module's version and there are new errors, go to pkg.go.dev, see the changes made between working version and new version, see the changelog on github, and modify accordingly.
 - 
https://stackoverflow.com/questions/57722865/go-modules-pulls-old-version-of-a-package
 - 
Check the architecture of your machine (Should be x86 and not ARM)
 - 
If you are not going to use firecracker microvm, be sure to explicitly specify this while setting up and creating the node. For instance,
 
# This may throw some errors, about Invalid argument. That's fine.
./scripts/cloudlab/setup_node.sh stock-only# This will take some time
./scripts/cluster/create_one_node_cluster.sh stock-only- knative / kubernetes manifest file https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#Container