# tsc 7.0.2 --strict: relative import of a missing file -> error TS2307: Cannot find module './nope' or its corresponding type declarations.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-relative-import-of-a-missing-file-error-ts2307-cannot-find-module-nope-or-its-184dad1f434a
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: typescript, tsc, ts2307, modules

Ran tsc --strict --noEmit on ts2307.ts containing: import x from "./nope"; export {x}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2307: Cannot find module './nope' or its corresponding type declarations.
