Comments (11)
@Whyeasy did you resolve your problem yourself? Could you please share some details for other users that might experience similar problems?
from jsonnet-bundler.
Thought my laptop was the issue, but colleague tested it as well. Looked fine in the beginning, but gave the same error in the end.
from jsonnet-bundler.
This is still a problem from master branch, anything other than vendor will cause the error:
$ jb install --jsonnetpkg-home="anything" github.com/grafana/jsonnet-libs.git/mixin-utils
...
jb: error: failed to install packages: symlink github.com/grafana/jsonnet-libs vendor/jsonnet-libs: no such file or directory
$ jb install --jsonnetpkg-home="something" github.com/grafana/jsonnet-libs.git/mixin-utils
...
jb: error: failed to install packages: symlink github.com/grafana/jsonnet-libs vendor/jsonnet-libs: no such file or directory
$ jb install --jsonnetpkg-home="vendor" github.com/grafana/jsonnet-libs.git/mixin-utils
GET https://github.com/grafana/jsonnet-libs/archive/e92000a708ded5bde1dd332a8e7457d0b39b7928.tar.gz 200
$ rm -rf vendor
$ jb install github.com/grafana/jsonnet-libs.git/mixin-utils
GET https://github.com/grafana/jsonnet-libs/archive/e92000a708ded5bde1dd332a8e7457d0b39b7928.tar.gz 200
from jsonnet-bundler.
https://github.com/jsonnet-bundler/jsonnet-bundler/blob/master/pkg/packages.go#L150
s/"vendor"/vendorDir/
from jsonnet-bundler.
This is also suspicious to me:
https://github.com/jsonnet-bundler/jsonnet-bundler/blob/master/pkg/packages.go#L79
from jsonnet-bundler.
@hangxie thanks for spotting, I'll take a look!
from jsonnet-bundler.
@hangxie I noticed you did a merge that allows other dirs. After testing the new master it still fails to use a different folder.
After downloading it cleans all the folders in the mentioned library home dir.
from jsonnet-bundler.
the new master it still fails to use a different folder.
Any details?
from jsonnet-bundler.
Sure. Here is the output if I run jb install --jsonnetpkg-home="_tmp/vendor"
GET https://github.com/jaegertracing/jaeger/archive/c9e4c920f858964e35941a25c6b0ec963577417b.tar.gz 200
GET https://github.com/coreos/kube-prometheus/archive/3f3d4e2947912802a2aecca0cefbcd1981a6f57d.tar.gz 200
GET https://github.com/thanos-io/kube-thanos/archive/aa595b4db9168358bf5f8a10add77af586932f8f.tar.gz 200
GET https://github.com/grafana/loki/archive/45d40a5c0091cafa6bc9c3837259d2409a64072d.tar.gz 200
GET https://github.com/grafana/jsonnet-libs/archive/7ac7da1a0fe165b68cdb718b2521b560d51bd1f4.tar.gz 200
GET https://github.com/thanos-io/thanos/archive/2e3ece187f8fe3a356609a3ee3457162ce7f8545.tar.gz 200
GET https://github.com/grafana/jsonnet-libs/archive/7ac7da1a0fe165b68cdb718b2521b560d51bd1f4.tar.gz 200
GET https://github.com/coreos/prometheus-operator/archive/89f35ef22db0dc24c523bf8be473bcbcf9ac81f6.tar.gz 200
GET https://github.com/coreos/etcd/archive/d6a3c995cf86b479cb5a44b48d000feb33e3d8f8.tar.gz 200
GET https://github.com/prometheus/node_exporter/archive/6ad94ae4bc5527037ce0e6b8462f58cb3b8ccef3.tar.gz 200
GET https://github.com/kubernetes/kube-state-metrics/archive/392572e1e789fc5f866fbeb6466173531a659bcc.tar.gz 200
GET https://github.com/kubernetes/kube-state-metrics/archive/392572e1e789fc5f866fbeb6466173531a659bcc.tar.gz 200
GET https://github.com/ksonnet/ksonnet-lib/archive/0d2f82676817bbf9e4acf6495b2090205f323b9f.tar.gz 200
GET https://github.com/kubernetes-monitoring/kubernetes-mixin/archive/7f3e0130ccd3e39400d1dc36e690cab16f8d4881.tar.gz 200
GET https://github.com/brancz/kubernetes-grafana/archive/539a90dbf63c812ad0194d8078dd776868a11c81.tar.gz 200
GET https://github.com/prometheus/prometheus/archive/489a9aa7b9478022c3b9c5952b8f9c70ddae5bdb.tar.gz 200
GET https://github.com/grafana/grafonnet-lib/archive/c459106d2d2b583dd3a83f6c75eb52abee3af764.tar.gz 200
GET https://github.com/metalmatze/slo-libsonnet/archive/437c402c5f3ad86c3c16db8471f1649284fef0ee.tar.gz 200
CLEAN _tmp/vendor/.tmp
CLEAN _tmp/vendor/etcd-mixin
CLEAN _tmp/vendor/github.com
CLEAN _tmp/vendor/github.com/brancz
CLEAN _tmp/vendor/github.com/brancz/kubernetes-grafana
CLEAN _tmp/vendor/github.com/brancz/kubernetes-grafana/grafana
CLEAN _tmp/vendor/github.com/brancz/kubernetes-grafana/grafana/configs
CLEAN _tmp/vendor/github.com/brancz/kubernetes-grafana/grafana/configs/dashboard-sources
CLEAN _tmp/vendor/github.com/coreos
CLEAN _tmp/vendor/github.com/coreos/etcd
CLEAN _tmp/vendor/github.com/coreos/etcd/Documentation
CLEAN _tmp/vendor/github.com/coreos/etcd/Documentation/etcd-mixin
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/alertmanager
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/alerts
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/ksm-autoscaler
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/kube-state-metrics
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/lib
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/node-exporter
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/prometheus
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/prometheus-adapter
CLEAN _tmp/vendor/github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/rules
CLEAN _tmp/vendor/github.com/coreos/prometheus-operator
CLEAN _tmp/vendor/github.com/coreos/prometheus-operator/jsonnet
CLEAN _tmp/vendor/github.com/coreos/prometheus-operator/jsonnet/prometheus-operator
CLEAN _tmp/vendor/github.com/grafana
CLEAN _tmp/vendor/github.com/grafana/grafonnet-lib
CLEAN _tmp/vendor/github.com/grafana/grafonnet-lib/grafonnet
CLEAN _tmp/vendor/github.com/grafana/jsonnet-libs
CLEAN _tmp/vendor/github.com/grafana/jsonnet-libs/grafana-builder
CLEAN _tmp/vendor/github.com/grafana/jsonnet-libs/mixin-utils
CLEAN _tmp/vendor/github.com/grafana/loki
CLEAN _tmp/vendor/github.com/grafana/loki/production
CLEAN _tmp/vendor/github.com/grafana/loki/production/loki-mixin
CLEAN _tmp/vendor/github.com/jaegertracing
CLEAN _tmp/vendor/github.com/jaegertracing/jaeger
CLEAN _tmp/vendor/github.com/jaegertracing/jaeger/monitoring
CLEAN _tmp/vendor/github.com/jaegertracing/jaeger/monitoring/jaeger-mixin
CLEAN _tmp/vendor/github.com/ksonnet
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/docs
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/docs/images
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/examples
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/examples/readme
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/astext
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/jsonnet
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/ksonnet
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/ksonnet/testdata
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/kubespec
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/kubespec/testdata
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/kubeversion
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/nodemaker
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/printer
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/printer/testdata
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/printer/testdata/upstream
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet-gen/printer/testdata/upstream/holding
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet.alpha.1
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet.alpha.1/internal
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet.beta.1
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet.beta.2
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet.beta.3
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/ksonnet.beta.4
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/scripts
CLEAN _tmp/vendor/github.com/ksonnet/ksonnet-lib/tests
CLEAN _tmp/vendor/github.com/kubernetes
CLEAN _tmp/vendor/github.com/kubernetes/kube-state-metrics
CLEAN _tmp/vendor/github.com/kubernetes/kube-state-metrics/jsonnet
CLEAN _tmp/vendor/github.com/kubernetes/kube-state-metrics/jsonnet/kube-state-metrics
CLEAN _tmp/vendor/github.com/kubernetes/kube-state-metrics/jsonnet/kube-state-metrics-mixin
CLEAN _tmp/vendor/github.com/kubernetes-monitoring
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/.circleci
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/alerts
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/dashboards/network-usage
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/lib
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/lib/promgrafonnet
CLEAN _tmp/vendor/github.com/kubernetes-monitoring/kubernetes-mixin/rules
CLEAN _tmp/vendor/github.com/metalmatze
CLEAN _tmp/vendor/github.com/metalmatze/slo-libsonnet
CLEAN _tmp/vendor/github.com/metalmatze/slo-libsonnet/slo-libsonnet
CLEAN _tmp/vendor/github.com/prometheus
CLEAN _tmp/vendor/github.com/prometheus/node_exporter
CLEAN _tmp/vendor/github.com/prometheus/node_exporter/docs
CLEAN _tmp/vendor/github.com/prometheus/node_exporter/docs/node-mixin
CLEAN _tmp/vendor/github.com/prometheus/node_exporter/docs/node-mixin/alerts
CLEAN _tmp/vendor/github.com/prometheus/node_exporter/docs/node-mixin/dashboards
CLEAN _tmp/vendor/github.com/prometheus/node_exporter/docs/node-mixin/rules
CLEAN _tmp/vendor/github.com/prometheus/prometheus
CLEAN _tmp/vendor/github.com/prometheus/prometheus/documentation
CLEAN _tmp/vendor/github.com/prometheus/prometheus/documentation/prometheus-mixin
CLEAN _tmp/vendor/github.com/thanos-io
CLEAN _tmp/vendor/github.com/thanos-io/kube-thanos
CLEAN _tmp/vendor/github.com/thanos-io/kube-thanos/jsonnet
CLEAN _tmp/vendor/github.com/thanos-io/kube-thanos/jsonnet/kube-thanos
CLEAN _tmp/vendor/github.com/thanos-io/thanos
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin/thanos
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin/thanos/alerts
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin/thanos/dashboards
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin/thanos/lib
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin/thanos/lib/thanos-grafana-builder
CLEAN _tmp/vendor/github.com/thanos-io/thanos/mixin/thanos/rules
CLEAN _tmp/vendor/grafana
CLEAN _tmp/vendor/grafana/configs
CLEAN _tmp/vendor/grafana/configs/dashboard-sources
CLEAN _tmp/vendor/grafana-builder
CLEAN _tmp/vendor/grafonnet
CLEAN _tmp/vendor/jaeger-mixin
CLEAN _tmp/vendor/ksonnet
CLEAN _tmp/vendor/ksonnet/docs
CLEAN _tmp/vendor/ksonnet/docs/images
CLEAN _tmp/vendor/ksonnet/examples
CLEAN _tmp/vendor/ksonnet/examples/readme
CLEAN _tmp/vendor/ksonnet/ksonnet-gen
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/astext
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/jsonnet
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/ksonnet
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/ksonnet/testdata
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/kubespec
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/kubespec/testdata
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/kubeversion
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/nodemaker
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/printer
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/printer/testdata
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/printer/testdata/upstream
CLEAN _tmp/vendor/ksonnet/ksonnet-gen/printer/testdata/upstream/holding
CLEAN _tmp/vendor/ksonnet/ksonnet.alpha.1
CLEAN _tmp/vendor/ksonnet/ksonnet.alpha.1/internal
CLEAN _tmp/vendor/ksonnet/ksonnet.beta.1
CLEAN _tmp/vendor/ksonnet/ksonnet.beta.2
CLEAN _tmp/vendor/ksonnet/ksonnet.beta.3
CLEAN _tmp/vendor/ksonnet/ksonnet.beta.4
CLEAN _tmp/vendor/ksonnet/scripts
CLEAN _tmp/vendor/ksonnet/tests
CLEAN _tmp/vendor/kube-prometheus
CLEAN _tmp/vendor/kube-prometheus/alertmanager
CLEAN _tmp/vendor/kube-prometheus/alerts
CLEAN _tmp/vendor/kube-prometheus/ksm-autoscaler
CLEAN _tmp/vendor/kube-prometheus/kube-state-metrics
CLEAN _tmp/vendor/kube-prometheus/lib
CLEAN _tmp/vendor/kube-prometheus/node-exporter
CLEAN _tmp/vendor/kube-prometheus/prometheus
CLEAN _tmp/vendor/kube-prometheus/prometheus-adapter
CLEAN _tmp/vendor/kube-prometheus/rules
CLEAN _tmp/vendor/kube-state-metrics
CLEAN _tmp/vendor/kube-state-metrics-mixin
CLEAN _tmp/vendor/kube-thanos
CLEAN _tmp/vendor/kubernetes-mixin
CLEAN _tmp/vendor/kubernetes-mixin/.circleci
CLEAN _tmp/vendor/kubernetes-mixin/alerts
CLEAN _tmp/vendor/kubernetes-mixin/dashboards
CLEAN _tmp/vendor/kubernetes-mixin/dashboards/network-usage
CLEAN _tmp/vendor/kubernetes-mixin/lib
CLEAN _tmp/vendor/kubernetes-mixin/lib/promgrafonnet
CLEAN _tmp/vendor/kubernetes-mixin/rules
CLEAN _tmp/vendor/loki-mixin
CLEAN _tmp/vendor/mixin-utils
CLEAN _tmp/vendor/node-mixin
CLEAN _tmp/vendor/node-mixin/alerts
CLEAN _tmp/vendor/node-mixin/dashboards
CLEAN _tmp/vendor/node-mixin/rules
CLEAN _tmp/vendor/prometheus
CLEAN _tmp/vendor/prometheus-operator
CLEAN _tmp/vendor/promgrafonnet
CLEAN _tmp/vendor/slo-libsonnet
CLEAN _tmp/vendor/thanos-mixin
CLEAN _tmp/vendor/thanos-mixin/alerts
CLEAN _tmp/vendor/thanos-mixin/dashboards
CLEAN _tmp/vendor/thanos-mixin/lib
CLEAN _tmp/vendor/thanos-mixin/lib/thanos-grafana-builder
CLEAN _tmp/vendor/thanos-mixin/rules
jb: error: failed to install packages: symlink github.com/jaegertracing/jaeger/monitoring/jaeger-mixin vendor/jaeger-mixin: no such file or directory
from jsonnet-bundler.
@Whyeasy can you confirm you have the latest version?
$ rm -rf *
$ GO111MODULE="on" go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@master
go: finding github.com master
...
$ jb --version
v0.2.1-0.20200211220001-efe0c9e86443
$ jb init
$ jb install --jsonnetpkg-home="_tmp/vendor" https://github.com/grafana/jsonnet-libs/mixin-utils
GET https://github.com/grafana/jsonnet-libs/archive/7ac7da1a0fe165b68cdb718b2521b560d51bd1f4.tar.gz 200
$ ls _tmp/vendor/
github.com/ mixin-utils
EDIT: if you are using head of the master, then I may need your jsonnetfile.json
from jsonnet-bundler.
GO111MODULE="on"
was missing this part 😅 ,it was working before without. Now it works. 👍
Thanks!
from jsonnet-bundler.
Related Issues (20)
- Is this project still under development? HOT 9
- qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory HOT 1
- This fixes #145
- `jb update` with transitive diamond shaped dependencies is not deterministic
- 1inch
- jsonnet-bundler issue HOT 1
- Localpaths are sometimes parsed as Git source
- Publish sha256 or sha512 checksums for release assets
- Use cache for downloaded archives HOT 1
- parallelize downloads
- Symlink creation may require elevated privileges on Windows
- Unable to install JB in WSL2
- Migrate to GitHub Actions
- Support pulling archive source from private GitHub repositories
- ClamAV possible false-positive
- Abandoned? - No. HOT 1
- Add option to uninstall dependencies
- Publish a JSON Schema document for jsonnetfile.json
- goroutine stack exceeds 1000000000-byte limit error when running jb install
- Add support for installing archives
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonnet-bundler.