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

[BUG] Cannot read properties of undefined (reading 'start') #77

Open
Rolv-Apneseth opened this issue Jul 20, 2024 · 0 comments
Open

[BUG] Cannot read properties of undefined (reading 'start') #77

Rolv-Apneseth opened this issue Jul 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Rolv-Apneseth
Copy link

Describe the bug
First, thank you for making this.

As for the issue, while running linkspector check on a json file, I am getting the following error:

💥 Error: Cannot read properties of undefined (reading 'start')

To Reproduce
Running linkspector check with the following minimal json file causes it for me:

{
    "images": [
        "https://cdn.britannica.com/75/178475-050-E9212E3D/Pyramid-of-Khufu-Giza-Egypt.jpg"
    ]
}

The issue does not happen when I remove the array and just have "images": "..." directly.

Expected behavior
I would expect this to work, but a better error message to give a better idea of what the actual issue is, or at least a line number pointing to the offending link, would be nice too.

@Rolv-Apneseth Rolv-Apneseth added the bug Something isn't working label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant