Closed
Description
openedon Sep 6, 2024
Version
1.47.0
Steps to reproduce
- Add paths to
tsconfig.json
{ "compilerOptions": { "paths": { "#/*": ["./src/*"] } } }
- Import something using that path, i.e.
#/utils/my-util
.
Expected behavior
This worked as expected in 1.46.
Actual behavior
Error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '#/utils/my-util' imported from <path>/tests/my-test.ts
Additional context
I assume this is related to the tsconfig
option in 1.47, but didn't dig into the issue yet sorry.
Environment
System:
OS: macOS 14.6.1
CPU: (8) arm64 Apple M3
Memory: 256.58 MB / 24.00 GB
Binaries:
Node: 20.14.0 - ~/.local/state/fnm_multishells/35649_1725599073952/bin/node
npm: 10.7.0 - ~/.local/state/fnm_multishells/35649_1725599073952/bin/npm
pnpm: 9.9.0 - ~/.local/state/fnm_multishells/35649_1725599073952/bin/pnpm
IDEs:
VSCode: 1.93.0 - /usr/local/bin/code
Languages:
Bash: 3.2.57 - /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment