Cannot find module '@angular/platform-browser/src/animate/animation_builder'. #1557

Closed
opened 2025-08-09 17:20:35 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @doczoidberg on 6/16/2016

runnning yo aspnetcore-spa with Angular2 now throws the error:

ERROR in C:\temp\aspnetu2\node_modules\angular2-universal\dist\node\platform\dom\node_dom_renderer.d.ts
(3,34): error TS2307: Cannot find module '@angular/platform-browser/src/animate/animation_builder'.

and dotnet run:

[Node] Error: Cannot find module '@angular/platform-browser/src/animate/animation_builder'
[Node]     at Function.Module._resolveFilename (module.js:325:15)
[Node]     at Function.Module._load (module.js:276:25)
[Node]     at Module.require (module.js:353:17)
[Node]     at require (internal/module.js:12:17)
[Node]     at Object.<anonymous> (C:\temp\aspnetu2\node_modules\angular2-universal\dist\node\platform\dom\node_dom_renderer.js:24:27)

I think this has to do with angular rc2 release.

*Originally created by @doczoidberg on 6/16/2016* runnning `yo aspnetcore-spa` with Angular2 now throws the error: ``` ERROR in C:\temp\aspnetu2\node_modules\angular2-universal\dist\node\platform\dom\node_dom_renderer.d.ts (3,34): error TS2307: Cannot find module '@angular/platform-browser/src/animate/animation_builder'. ``` and `dotnet run`: ``` [Node] Error: Cannot find module '@angular/platform-browser/src/animate/animation_builder' [Node] at Function.Module._resolveFilename (module.js:325:15) [Node] at Function.Module._load (module.js:276:25) [Node] at Module.require (module.js:353:17) [Node] at require (internal/module.js:12:17) [Node] at Object.<anonymous> (C:\temp\aspnetu2\node_modules\angular2-universal\dist\node\platform\dom\node_dom_renderer.js:24:27) ``` I think this has to do with angular rc2 release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1557
No description provided.