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

examples(with-auth): unzip error on create with auth #2105

Closed
Mitchell-Ryan opened this issue Oct 2, 2022 · 2 comments · Fixed by #2144
Closed

examples(with-auth): unzip error on create with auth #2105

Mitchell-Ryan opened this issue Oct 2, 2022 · 2 comments · Fixed by #2144
Labels
bug Something isn't working prio 1 Defines the highest prio issues

Comments

@Mitchell-Ryan
Copy link
Contributor

Mitchell-Ryan commented Oct 2, 2022

Error found in #2049

While using npx create-compas@latest --template with-auth

14:55:46.235 error[create-compas] {
  type: 'error',
  message: 'Error caught from callback passed in `mainFn`',
  error: {
    name: 'Error',
    message: 'Premature close',
    stack: [
      'at new NodeError (node:internal/errors:393:5)',
      'at Unpack.<anonymous> (node:internal/streams/pipeline:352:14)',
      'at Unpack.emit (node:events:525:35)',
      'at [maybeClose] (/Users/mitchell/.npm/_npx/9860e88e3e1de73f/node_modules/tar/lib/unpack.js:228:12)',
      'at Unpack.opt.ondone (/Users/mitchell/.npm/_npx/9860e88e3e1de73f/node_modules/tar/lib/unpack.js:129:23)',
      'at Unpack.emit (node:events:525:35)',
      'at [emit] (/Users/mitchell/.npm/_npx/9860e88e3e1de73f/node_modules/tar/lib/parse.js:285:12)',
      'at [maybeEnd] (/Users/mitchell/.npm/_npx/9860e88e3e1de73f/node_modules/tar/lib/parse.js:401:17)',
      'at [consumeChunk] (/Users/mitchell/.npm/_npx/9860e88e3e1de73f/node_modules/tar/lib/parse.js:432:21)',
      'at Unzip.<anonymous> (/Users/mitchell/.npm/_npx/9860e88e3e1de73f/node_modules/tar/lib/parse.js:351:29)'
    ]
  }
}
@dirkdev98 dirkdev98 added bug Something isn't working prio 1 Defines the highest prio issues labels Oct 2, 2022
@dirkdev98
Copy link
Member

Thanks for creating the issue. Seems to be related to isaacs/node-tar#321

@dirkdev98
Copy link
Member

There seems to be a fix proposed in node-tar. Will check it out later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio 1 Defines the highest prio issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants