arethetypeswrong / arethetypeswrong.github.io

Tool for analyzing TypeScript types of npm packages

Home Page:https://arethetypeswrong.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashes on `next`

andrewbranch opened this issue · comments

Many versions of next, including 13.4.12, crash with File not found: /node_modules/next/types/misc.d.ts`. This is probably a next bug, but it would be great if we could report it instead of crashing.

Came here just now to report the same thing:

Current version: next@14.0.3

Error text:

Error: File not found: /node_modules/next/types/misc.d.ts

284053379-98770f3d-c471-4066-b3dd-8b2cdf02b37c

Seems like the first broken version is next@13.3.1

The last working version (excluding canary versions) before that was next@13.3.0.

Shipped fix with typesaurus@10.0.0-beta.12, could you please test it?

I'm sorry I got lost in my tabs, haha, and left unrelated comment here somehow 🫠

@andrewbranch thanks for #102 🙌 I can confirm that this is working with next@14.0.3:

Screenshot 2023-12-04 at 09 03 32