# Turborepo Troubleshooting
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2024-01-05]]
**Topic**:: [[♯ Turborepo]]
## Issues
### The inferred type of “X” cannot be named without a reference to “Y”. This is likely not portable. A type annotation is necessary.
[※ source](https://lightrun.com/solutions/microsoft-typescript-the-inferred-type-of-x-cannot-be-named-without-a-reference-to-y-this-is-likely-not-portable-a/)
The issue of the inferred type being unable to be named in TypeScript when using symlinked `node_modules`can arise in various scenarios, particularly in Rush monorepos with pnpm workspaces.
One potential solution that has been proposed involves adding the `preserveSymlinks` option to the TypeScript configuration.
```json
{
"compilerOptions": {
"preserveSymlinks": true
}
}
```