Skip to content

ng serve can't resolve module @angular/core/src/di/opaque_token from [..]/src/index.ts #3658

@invious

Description

@invious

/src/index.ts doesn't even exist... I don't see it in the /src/ folder in any project I've ever tried to run... what's looking for that and why?

$ ng serve
can't resolve module @angular/core/src/di/opaque_token from /Users/aymon/Downloads/migration-project/src/index.ts
Cannot read property 'parse' of undefined
TypeError: Cannot read property 'parse' of undefined
    at ReflectorHost.normalizeAssetUrl (/Users/aymon/Downloads/migration-project/node_modules/@angular/compiler-cli/src/reflector_host.js:54:43)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions