`make build` fails: cp: cannot stat 'data-2': No such file or directory
See original GitHub issueOn the current master (b49c6302d836d8e64ba0605e8cd7c88cd8eb1969) I get this on make build
:
rm -f linodecli/data-*
rm -f linode-cli.sh
rm -f dist/*
python -m linodecli bake https://developers.linode.com/api/v4/openapi.yaml --skip-config
No spec baked. Please bake by calling this script as follows:
python3 gen_cli.py bake /path/to/spec
Baking...
Warning: Resolved empty node for {'type': 'object'} in [{'$ref': '#/components/schemas/IPAddress'}, {'type': 'object'}]
Baking bash completions...
Writing file...
Done.
python3 -m linodecli bake https://developers.linode.com/api/v4/openapi.yaml --skip-config
No spec baked. Please bake by calling this script as follows:
python3 gen_cli.py bake /path/to/spec
Baking...
Warning: Resolved empty node for {'type': 'object'} in [{'$ref': '#/components/schemas/IPAddress'}, {'type': 'object'}]
Baking bash completions...
Writing file...
Done.
cp data-2 linodecli/
cp: cannot stat 'data-2': No such file or directory
make: *** [Makefile:23: build] Error 1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Getting an error cp: cannot stat when trying to copy files from ...
This means cp: cannot stat 'mock/*': No such file or directory unable to copy all files from mock folder because file or directory...
Read more >cp: cannot stat 'filename': No such file or directory - Ask Ubuntu
I am not familiar with running Ubuntu inside a ChromeOS. It looks to me the folder VueScan exists in two places: In the...
Read more >cp: cannot stat : No such file or directory - Unix Stack Exchange
As root@remote.server.ip , I typed exit , then typed the scp command above and it worked. The problem was that I was logged...
Read more >copy file issue - cp : cannot stat : no such file or directory
Your browser can't play this video. Learn more. Switch camera. Share. Include playlist. An error occurred while retrieving sharing ...
Read more >cp: cannot stat '/some/path/*': No such file or directory
When you use "$var*" the output will be /some/path* , where * is considered as a character (not as a regex expression, since...
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
I had a copy of the Makefile that removed all ambiguity, but it got lost in my stash. I’ll add a to-do item for myself to put up a PR.
FYI, I wrote a habitat plan to work me around this: https://bldr.habitat.sh/#/pkgs/jarvus/linode-cli/latest
So on any Linux box now you can run:
python, kubectl, and terraform binaries all get pulled and put into env by habitat