Skip to content

feat: improve error message when importing github repo #1327

@TheAlexLichter

Description

@TheAlexLichter

🌈 Feature

Hey all! Just tried to import my GH repo and a cryptic error occurred

image

After a while, I realized that my package.json had a trailing comma and was invalid (ref).

Unfortunately, the error message only partly helps with recognizing this error.

✔️ Invalid JSON
❌ Position 315 (if you put all on one line maybe?)
❌ Reference to package.json

I'd love to see a more detailed error message, however, this is a less common error I think 🤷‍♂️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions