question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when building in AOT mode (Error encountered resolving symbol values statically - TagInputComponent)

See original GitHub issue

I’m submitting a … (check one with “x”)

[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request/question

Current behavior

Getting the following error when doing ng build --aot

ERROR in Error encountered resolving symbol values statically. Could not resolve components relative to C:/XXX/XXX/nod e_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts., resolving symbol TagInputComponent in C:/XXX/XXX/node_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts, resolving symbol TagInputComponent in C:/XXX/XXX/node_modules/ng2-tag-input/dist/modules/components/tag-input/tag-input.d.ts

Expected behavior

Be able to do ng build in aot mode

What do you use to build your app? (SystemJS, Webpack, angular-cli, etc.). Please specify the version

Angular CLI

Angular version:

@angular/cli: 1.0.0 node: 6.9.1 os: win32 x64 @angular/animations: 4.0.2 @angular/common: 4.0.1 @angular/compiler: 4.0.1 @angular/core: 4.0.1 @angular/forms: 4.0.1 @angular/http: 4.0.1 @angular/material: 2.0.0-beta.3 @angular/platform-browser: 4.0.1 @angular/platform-browser-dynamic: 4.0.1 @angular/router: 4.0.1 @angular/cli: 1.0.0 @angular/compiler-cli: 4.0.1

ng2-tag-input version:

1.3.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
Gbuompriscocommented, Jun 1, 2017

Will be fixing this in the weekend 😃

1reaction
jstoppacommented, Jun 5, 2017

thanks @Gbuomprisco ! this build (1.3.3) fixes the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular. Aot. Error encountered resolving symbol values ...
I am getting next error: ERROR in Error encountered resolving symbol values statically. Could not resolve home/home.component relative to ...
Read more >
AOT metadata errors - Angular
The compiler found a reference to an exported variable or static field that wasn't initialized. It needs the value of that variable to...
Read more >
angular/angular - Gitter
Just spent a few hours chasing an annoying problem. It was a typo in my Typescript code. I have a component A with...
Read more >
Making your Angular 2 library statically analyzable for AoT
Error : Error encountered resolving symbol values statically. Calling function 'declarations', function calls are not supported.
Read more >
Error encountered resolving symbol values statically-angular.js
Coding example for the question Angular module - Error encountered resolving symbol values statically-angular.js.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found