next build failing on typescript
Unanswered
American black bear posted this in #help-forum
American black bearOP
i have a simple project w/ both js and ts, but
i was told it might be in the eslint file, so here it is: https://paste.pythondiscord.com/HY4Q
tsconfig.json is here: https://paste.pythondiscord.com/QYLQ
all i'm doing is running
next build doesn't seem to like the typescripti was told it might be in the eslint file, so here it is: https://paste.pythondiscord.com/HY4Q
tsconfig.json is here: https://paste.pythondiscord.com/QYLQ
all i'm doing is running
next build, so...10 Replies
American black bearOP
ok for some reason
removing the eslint worked lol
You didn't have "next" in your eslint extends which might have been part of it
usually I just let next build it for me when I create a ts file lol
American black bearOP
oh how do i get next to generate an eslint
American black bearOP
pog
PS C:\Users\kevin\GitHub\aux-front> next lint
? How would you like to configure ESLint? https://nextjs.org/docs/basic-features/eslint
â–² ESLint has successfully been configured. Run next lint again to view warnings and errors.
PS C:\Users\kevin\GitHub\aux-front> next lint
? How would you like to configure ESLint? https://nextjs.org/docs/basic-features/eslint
⯠Strict (recommended)
Base
Cancelsomething broke lol