question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`make build` fails: cp: cannot stat 'data-2': No such file or directory

See original GitHub issue

On 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    

asciicast

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
asaubercommented, Mar 13, 2019

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.

2reactions
themightychriscommented, Dec 11, 2018

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:

# install hab CLI
curl -s https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | sudo bash

# install linode-cli and binlink it
hab pkg install -b jarvus/linode-cli

# profit!
linode-cli k8s-alpha create 

python, kubectl, and terraform binaries all get pulled and put into env by habitat

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found