Skip to content

Getting "Cannot find module" error on "tsc" command, only on GitHub Actions #59493

Closed Answered by aabuhijleh
aabuhijleh asked this question in Actions
Discussion options

You must be logged in to vote

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 ✅

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@FleetAdmiralJakob
Comment options

@FleetAdmiralJakob
Comment options

Answer selected by aabuhijleh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Actions Build, test, and automate your deployment pipeline with world-class CI/CD
2 participants