Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem captain-definition #22

Closed
dockmanaman opened this issue Nov 30, 2017 · 3 comments
Closed

problem captain-definition #22

dockmanaman opened this issue Nov 30, 2017 · 3 comments
Labels

Comments

@dockmanaman
Copy link

dockmanaman commented Nov 30, 2017

hello when I want to use your nodeJS exemple I upload the .tar file and everything work
but when I download it , decompress it and compress it again on my computer. the upload process doesn't work at all

Error
Captain Definition file does not exist!

step to reproduce the problem

    • download node.tar on GitHub
  1. decrompress on your computer
  2. compress using terminal
    command : tar cjf node.tar node/
    or tar cvf node.tar node/

no file was removed or moved or changed

how did you compress the directory into .tar ? (software, operating system ...)
thank you.

@githubsaturn
Copy link
Collaborator

githubsaturn commented Nov 30, 2017

You probably compress the directory not the content.

What captain expects inside tar file:

  • captain-definition
  • all other files

What you probably have inside tar file:

  • a directory called node, inside that directory, captain-definition and all other files.

See this:
https://stackoverflow.com/questions/939982/how-do-i-tar-a-directory-of-files-and-folders-without-including-the-directory-it

Can you please confirm?

@githubsaturn
Copy link
Collaborator

I have added support for this case as well. With the next release, doing what I explained above will be unnecessary.

@githubsaturn
Copy link
Collaborator

dummy-head added a commit to dummy-head/typescript-captain that referenced this issue Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants