Shakedav
Shakedav

Reputation: 63

angular 2 npm link Error in error encountered resolving symbol values statically. calling function 'makeDecorator'

I get an error when running my application if I use "npm link" to consume another package that I developed.

the error is:

Error in error encountered resolving symbol values statically. calling function 'makeDecorator'

Upvotes: 0

Views: 102

Answers (1)

Shakedav
Shakedav

Reputation: 63

the solution is to add the following to the tsconfig.app.json file on the projects you use:

"compilerOptions": {
    "paths": {
        "@angular/*": ["../node_modules/@angular/*"],
        "@ngrx/*": ["../node_modules/@ngrx/*"],
        "rxjs/*": ["../node_modules/rxjs/*"]
        }
}

Upvotes: 1

Related Questions