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.

Angular CLI build error

See original GitHub issue

I’m getting the following error when building the project:

`ERROR in Error encountered resolving symbol values statically. Calling function ‘InjectionToken’, function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol KEYBOARD_CONFIGURATION in …node_modules/angular-modal-gallery/src/modal-gallery.module.ts, resolving symbol ModalGalleryModule.forRoot

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
krasznaidavidcommented, Aug 28, 2017

Thanks for your help! I was able to build the project.

0reactions
Ks89commented, Aug 28, 2017

Also try with a npm cache clean.

If needed use also - - force

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >
angular - build error while using ng build - Stack Overflow
I getting this error: "You have to be inside an angular-cli project in order to use the build command" after creating a new...
Read more >
ng build error: Invalid version: "15.2-15.3" #22606 - GitHub
When i build project with Angular CLI, I get this error: An unhandled exception occurred: Transform failed with 1 error: error: Invalid ...
Read more >
Angular CLI ng build fails - Visual Studio Feedback
An NPM task with custom command to install the angular cli, command: "install @angular/cli" - ... Failed at the ba-web-app@0.0.0 build script 'ng...
Read more >
ng build - Angular
Option Description Value Type Default Value ‑‑aot Build using Ahead of Time compilation. boolean true ‑‑base‑href Base url for the application being built. string ‑‑delete‑output‑path Delete...
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