The `LanguageServiceAdapter` must implement `realpath` in order to resolve symlinks in `node_modules`. Local libraries are often symlinked in `node_modules` by adding a local dependency in `package.json`. Fix https://github.com/angular/vscode-ng-language-service/issues/1083 PR Close #40593