Skip to content

About firstly failed to compile #21

@huanyingbazhe

Description

@huanyingbazhe

Hello:
When I first 'ng serve' my project, I encounter a problem. The message is below:

ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 194:50 in the original .ts file), resolving symbol NgModule in E:/project/gss/oversee/ngOversee/node_modules/angular2-prettyjson/node_modules/@angular/core/core.d.ts, resolving symbol PrettyJsonModule in E:/project/g ss/oversee/ngOversee/node_modules/angular2-prettyjson/src/prettyjson.module.d.ts, resolving symbol PrettyJsonModule in E:/project/gss/oversee/ngOversee/node_modules/angular2-prettyjson/src/prettyjson.mod ule.d.ts
.

I use angular 4.

And then, when I save in any file, the problem disappears.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions