Skip to content

Not working #2

Description

@MichaelBelgium

Trying out catapultjs. Unfortunately not working at all. I did the quick start but i'm having these issues:

  • it's not possible to specify the ssh key in deploy config?
  • some sock error: (possible because windows?)
==> [production] setup directories

ℹ ExecaError: Command failed with exit code 4294967295: ssh -o "ControlMaster=auto" -o 
  "ControlPath=C:\Users\Michael\AppData\Local\Temp\cata-dd9c1426.sock" -o "ControlPersist=300" "deploy@*****" "bash -lc 
  'echo 
  CiAgICBzZXQgLWUKICAgIG1rZGlyIC1wICcvaG9tZS9kZXBsb3kvc3BsaXQtZmxhcCcKICAgIG1rZGlyIC1wICcvaG9tZS9kZXBsb3kvc3BsaXQtZmxhcC9yZWxlYXNlcycKICAgIG1rZGlyIC1wICcvaG9tZS9kZXBsb3kvc3BsaXQtZmxhcC9zaGFyZWQnCiAgICBta2RpciAtcCAnL2hvbWUvZGVwbG95L3NwbGl0LWZsYXAvLmNhdGFwdWx0JwogICAgCiAgICAKICA=|base64 
  -d|bash'"

  getsockname failed: Not a socket\r
  Read from remote host *******: Unknown error

 ⁃ at getFinalError (/node_modules/execa/lib/return/final-error.js:6:9)

    1 ┃  // When the subprocess fails, this is the error instance being returned.
    2 ┃  // If another error instance is being thrown, it is kept as `error.cause`.
    3 ┃  export const getFinalError = (originalError, message, isSync) => {
    4 ┃         const ErrorClass = isSync ? ExecaSyncError : ExecaError;
    5 ┃         const options = originalError instanceof DiscardedError ? {} : {cause: originalError};
 ❯  6 ┃         return new ErrorClass(message, options);
    7 ┃  };
    8 ┃  
    9 ┃  // Indicates that the error is used only to interrupt control flow, but not in the return value
   10 ┃  export class DiscardedError extends Error {}
   11 ┃  

 ⁃ at makeError (/node_modules/execa/lib/return/result.js:108:16)
 ⁃ at getAsyncResult (/node_modules/execa/lib/methods/main-async.js:168:4)
 ⁃ at handlePromise (/node_modules/execa/lib/methods/main-async.js:151:17)
 ⁃ at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
 ⁃ at async setupHost (/node_modules/@catapultjs/deploy/build/src/deployer.js:25:5)
 ⁃ at async initializeHost (/node_modules/@catapultjs/deploy/build/src/deployer.js:36:5)
 ⁃ at async Setup.run (/node_modules/@catapultjs/deploy/build/commands/setup.js:14:13)
 ⁃ at async Setup.exec (/node_modules/@adonisjs/ace/build/index.js:712:18)
 ⁃ at async #execMain (/node_modules/@adonisjs/ace/build/index.js:2184:4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions