Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Chore: Better error messages on download of archetype. #13

@ryan-roemer

Description

@ryan-roemer

In downloading / extracting an archetype, we go through creating a temp directory, a process spawn (npm pack), ungzip, untarring to the temp directory and walking that file path. There's a lot that can go wrong with very terse / hard-to-understand error messages.

Task:

  • Review and add error wrappers to make captured errors much more accesible.
  • Add information to error about where things went wrong.

Scenarios:

  • Archetype doesn't have init.js
  • Archetype doesn't have init/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions