Receiving an error Cannot find module 'angular2/src/core/compiler/compiler' #1679

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

Originally created by @danicomas on 11/18/2015

Hosting environment: Production
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
[Node] module.js:338
[Node]     throw err;
[Node]     ^
[Node]
[Node] Error: Cannot find module 'angular2/src/core/compiler/compiler'
[Node]     at Function.Module._resolveFilename (module.js:336:15)
[Node]     at Function.Module._load (module.js:286:25)
[Node]     at Module.require (module.js:365:17)
[Node]     at require (module.js:384:17)
[Node]     at Object.<anonymous> (C:\Users\daniel.comas\Desktop\Angular2Aspnet5\
Angular2Aspnet5\src\Angular2Aspnet5\node_modules\angular2-universal-patched\dist
\server\src\core\application.js:1:80)
[Node]     at Module._compile (module.js:434:26)
[Node]     at Object.Module._extensions..js (module.js:452:10)
[Node]     at Module.load (module.js:355:32)
[Node]     at Function.Module._load (module.js:310:12)
[Node]     at Module.require (module.js:365:17)

I paste my repository url if you know why:

https://github.com/danicomas/Angular2Aspnet5

*Originally created by @danicomas on 11/18/2015* ``` Hosting environment: Production Now listening on: http://localhost:5000 Application started. Press Ctrl+C to shut down. [Node] module.js:338 [Node] throw err; [Node] ^ [Node] [Node] Error: Cannot find module 'angular2/src/core/compiler/compiler' [Node] at Function.Module._resolveFilename (module.js:336:15) [Node] at Function.Module._load (module.js:286:25) [Node] at Module.require (module.js:365:17) [Node] at require (module.js:384:17) [Node] at Object.<anonymous> (C:\Users\daniel.comas\Desktop\Angular2Aspnet5\ Angular2Aspnet5\src\Angular2Aspnet5\node_modules\angular2-universal-patched\dist \server\src\core\application.js:1:80) [Node] at Module._compile (module.js:434:26) [Node] at Object.Module._extensions..js (module.js:452:10) [Node] at Module.load (module.js:355:32) [Node] at Function.Module._load (module.js:310:12) [Node] at Module.require (module.js:365:17) ``` I paste my repository url if you know why: https://github.com/danicomas/Angular2Aspnet5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1679
No description provided.