Getting "Cannot find module" error on "tsc" command, only on GitHub Actions #59493
-
Select Topic AreaBug BodyThis build keeps failing on this type check step
tsconfig.json is configured correctly. This failure is only happening on Github Actions. The command is working well locally and the vercel build is succeeding. I've tried a lot of things like changing the file name, changing the imports to relative instead of absolute but nothing worked. Any help is appreciated 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The boilerplate code create-t3-app I used, ignored This is why I just added this file to the repo and the build is succeeding ✅ |
Beta Was this translation helpful? Give feedback.
The boilerplate code create-t3-app I used, ignored
next-env.d.ts
type declaration file from git which included a lot of types including image types.This is why
tsc --noEmit
is working locally but not on GitHub CLI.I just added this file to the repo and the build is succeeding ✅