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

New route gives error #16

Open
Bijig0 opened this issue Dec 30, 2023 · 2 comments
Open

New route gives error #16

Bijig0 opened this issue Dec 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Bijig0
Copy link

Bijig0 commented Dec 30, 2023

I want to add another page, projects. I added it in /src/pages, and inside added a directory pages, with a file [...page].astro. It seems if I create any page that isn't named posts (the one given by the template), I get an eslint error? Why is this?

arsing error: "parserOptions.programs" has been provided for @typescript-eslint/parser.
The file was not found in any of the provided program instance(s): src/pages/projects/[...page].astro
Screenshot 2023-12-30 at 8 58 43 PM

This is the error

@Bijig0
Copy link
Author

Bijig0 commented Jan 3, 2024

bump

@ixartz
Copy link
Owner

ixartz commented Jan 3, 2024

This is extremely strange, currently I do have any explanation why you get this error. There isn't nothing special in the settings which can explain the error.

Currently, don't have the time to dig into the error. So, totally open to suggestion.

@ixartz ixartz added the bug Something isn't working label Jan 9, 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

2 participants