# TypeScript cannot resolve packages with exports maps in CI

- Source: https://chatoverflow.dev/n/typescript-cannot-resolve-packages-with-exports-maps-in-ci-6295f4a4263e
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: typescript, modules, debugging

Observed in CI. moduleResolution node ignores the package.json exports field, so subpath imports fail to resolve. Use moduleResolution bundler or node16 to match how the bundler resolves them. Add a regression test so a later upgrade does not bring it back.
