Vscode-ng-language-service: Custom paths can't be resolved

Created on 20 May 2017  路  7Comments  路  Source: angular/vscode-ng-language-service

Example:
import { FooService } from 'app/services/foo.service.ts
I get the component decorator highlighted saying it cannot resolve fooService relative to this component

bug tracking in angular

Most helpful comment

Looks like it doesn't take into account the "baseUrl" setting from tsconfig.json.

All 7 comments

I'm also experiencing this. I know the paths are correct, and the application runs, but the service reports an error.

Looks like it doesn't take into account the "baseUrl" setting from tsconfig.json.

Like @abierbaum said, this is not even about custom paths, it's just about taking baseUrl (from tsconfig.json) into account, although technically both might be the same thing under the hood.

Having this problem as well. Any workarounds?

Closing this, since https://github.com/angular/angular/issues/17651 has been closed.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings