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.

demo app fails to compile

See original GitHub issue

run ng serve demo

leads to the following error messages:

ERROR in node_modules/@angular/platform-browser/animations/src/animation_builder.d.ts(8,106): error TS2307: Cannot find module ‘@angular/animations’. node_modules/@angular/platform-browser/animations/src/animation_renderer.d.ts(1,53): error TS2307: Cannot find module ‘@angular/animations/browser’. node_modules/@angular/platform-browser/animations/src/providers.d.ts(8,276): error TS2307: Cannot find module ‘@angular/animations/browser’. projects/demo/src/app/app.module.ts(4,37): error TS2307: Cannot find module ‘@angular/forms’. projects/demo/src/app/app.module.ts(13,8): error TS2307: Cannot find module ‘@angular/material’. projects/demo/src/app/logger-form/logger-form.component.ts(7,8): error TS2307: Cannot find module ‘@angular/forms’.

The missing modules where removed with commit ‘remove unnecessary angular packages’.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marclabudcommented, Oct 31, 2018

No there is no need to manually install any dependencies with your solution with devDependencies. I just answered to the question of @saidoze with my peerDependency-Workaround.

1reaction
marclabudcommented, Oct 31, 2018

Thank you for the fast update of the devDependencies of the demo app. It is back to work now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Demo code not compiling… | Apple Developer Forums
Hi When I try to run to a device, I get the following error (see below) from Xcode.... However, I can build to...
Read more >
Why does the demo app(s) fail to compile? - Telerik Forums
I have downloaded the trial version of RadControls for WPF (the latest presumably as of 2011/2/27) and it fails to compile, showing massive ......
Read more >
how to resolve "Failed to compile application" #56977 - GitHub
Try removing 'external' keyword or annotating the function as a js-interop function. ... /Applications/source/flutter/.pub-cache/hosted/pub.
Read more >
Flutter Windows Application fails to compile - Stack Overflow
Your compiler needs upgrading. I've got 16.11.something; you've got 16.1.something. Run the Visual Studio Installer again to upgrade it.
Read more >
Fail to compile Demo App C18-PICDN2_ENC28 - help please
Hi Guys, so im trying to compile the Demo App for the PICDEM.net 2 Development Board but im getting a fail.. please see...
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