79338955

Date: 2025-01-08 11:33:12
Score: 1
Natty:
Report link

I had a similar problem updating a Node.js project to use moduleResolution of node16.

Removing an old paths section that explicitly forced the TS compiler to look in a specific location was the solution.

"paths": {
    "*": [
        "node_modules/*"
    ]
}

https://www.typescriptlang.org/tsconfig/#paths

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ian Burnett