Proxy build fails on Ubuntu
See original GitHub issueSystem OS: Ubuntu OS version: 16.04 Platform: x86 Kui version: v8.12.2/master node version: v12.16.1 npm version: 6.13.4
Describe the bug After building KUI on Ubuntu 16.04, I tried to create proxy docker image using the steps from https://github.com/IBM/kui/tree/master/packages/proxy#building-the-proxy. But I got the following error:
amit@amit-vm:~/work/kui/packages/proxy$ ./build.sh
staging directory: /home/amit/work/kui/packages/proxy/kui-proxy-tmp/kui
staging directory /home/amit/work/kui/packages/proxy/kui-proxy-tmp
no prescan override
tar copy to /home/amit/work/kui/packages/proxy/kui-proxy-tmp from /home/amit/work/kui/packages/proxy
nothing to do
/home/amit/work/kui/node_modules/.bin//kui-build-headless: line 147: cd: /home/amit/work/kui/packages/proxy/node_modules/@kui-shell/client: No such file or directory
Building headless dist to /home/amit/work/kui/packages/proxy/kui-proxy-tmp/kui
cp: cannot stat '/home/amit/work/kui/packages/proxy/kui-proxy-tmp/kui/node_modules/@kui-shell/builder/dist/bin/kui.cmd': No such file or directory
cp: cannot stat 'kui/node_modules/@kui-shell/core/bin/*': No such file or directory
removed 1 package in 0.281s
mv: cannot move 'kui/prescan.json' to 'kui/node_modules/@kui-shell/prescan.json': No such file or directory
find: ‘kui/node_modules/@kui-shell/!(test)’: No such file or directory
find: ‘kui/node_modules/@kui-shell/!(test)’: No such file or directory
Cleanup
cp: cannot stat '/home/amit/work/kui/packages/proxy/node_modules/@kui-shell/builder/../proxy/package.json': No such file or directory
Steps to reproduce the behavior
git clone https://github.com/IBM/kui.git
cd kui
npm ci
npm run watch
export PATH=~/work/kui/node_modules/.bin/:$PATH
cd packages/proxy
export KUBE_VERSION=v1.19.0
npm install
./build.sh
Expected behavior A docker image named kui-proxy should be created.
Please help me resolve this. Thanks in advance!
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
apt-get install behind proxy - Failed to fetch - Ask Ubuntu
I am running Ubuntu 18.04LTS, behind a proxy. I had a lot of packages with available updates (more than 200, I guess). I...
Read more >Proxy Issues with docker build? - General Discussions
I usaly add --build-arg http_proxy=${http_proxy} to my docker build command, so whenever a system uses a proxy, it will be used to build...
Read more >Wrong proxy configuration during build when using Docker ...
When building docker images on a remote host, which sits behind a proxy, via a configured Docker context, the wrong proxy configuration is...
Read more >docker build failing with proxy - Reddit
I work with alot of vms, etc. that don't have direct access to 80/443. Must use proxy. I can reproduce this consistently on...
Read more >Build fails behind proxy on build.snapcraft.io
I'm experiencing build failures on build.snapcraft.io, which appear to be as a result of a proxy on the build server.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Mounting local ~/.kube directory inside the container makes kubectl commands work. Command used:
Closing the issue.
thanks very much for the sharing the additional information. much appreciated!