-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
SystemJS / Webpack loading Angular 2 Material properly
What is the current behavior?
When updating to alpha.6-3, SystemJS / Webpack fails loading Angular 2 Material with the following error:
Error: (SystemJS) core_1.NgModule is not a function
TypeError: core_1.NgModule is not a function
at eval (http://localhost:3000/node_modules/@angular2-material/core/rtl/dir.js:70:16)
at Object.eval (http://localhost:3000/node_modules/@angular2-material/core/rtl/dir.js:77:2)
at eval (http://localhost:3000/node_modules/@angular2-material/core/rtl/dir.js:80:4)
at eval (http://localhost:3000/node_modules/@angular2-material/core/rtl/dir.js:81:3)
Karma / PhantomJS also stop executing with the following error prompt:
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
{
"stack": null,
"originalErr": {
"line": 70,
"stack": "\n\n\neval code\neval@[native code]\n__exec@node_modules/systemjs/dist/system.src.js:1559:18\nexecute@node_modules/systemjs/dist/system.src.js:4020:22\nlinkDynamicModule@node_modules/systemjs/dist/system.src.js:3296:36\ngetModule@node_modules/systemjs/dist/system.src.js:3264:26\nnode_modules/systemjs/dist/system.src.js:3300:25\nrequire@node_modules/systemjs/dist/system.src.js:3984:34\n\n\neval code\neval@[native code]\n__exec@node_modules/systemjs/dist/system.src.js:1559:18\nexecute@node_modules/systemjs/dist/system.src.js:4020:22\nlinkDynamicModule@node_modules/systemjs/dist/system.src.js:3296:36\ngetModule@node_modules/systemjs/dist/system.src.js:3264:26\nnode_modules/systemjs/dist/system.src.js:3300:25\nrequire@node_modules/systemjs/dist/system.src.js:3984:34\n\n\neval code\neval@[native code]\n__exec@node_modules/systemjs/dist/system.src.js:1559:18\nexecute@node_modules/systemjs/dist/system.src.js:4020:22\nlinkDynamicModule@node_modules/systemjs/dist/system.src.js:3296:36\ngetModule@node_modules/systemjs/dist/system.src.js:3264:26\nnode_modules/systemjs/dist/system.src.js:3300:25\nrequire@node_modules/systemjs/dist/system.src.js:3984:34\n\n\neval code\neval@[native code]\n__exec@node_modules/systemjs/dist/system.src.js:1559:18\nexecute@node_modules/systemjs/dist/system.src.js:4020:22\nlinkDynamicModule@node_modules/systemjs/dist/system.src.js:3296:36\nlink@node_modules/systemjs/dist/system.src.js:3135:28\nexecute@node_modules/systemjs/dist/system.src.js:3506:17\ndoDynamicExecute@node_modules/systemjs/dist/system.src.js:772:32\nlink@node_modules/systemjs/dist/system.src.js:970:36\ndoLink@node_modules/systemjs/dist/system.src.js:629:11\nupdateLinkSetOnLoad@node_modules/systemjs/dist/system.src.js:675:24\nnode_modules/systemjs/dist/system.src.js:491:30\ninvoke@node_modules/zone.js/dist/zone.js:323:34\nrun@node_modules/zone.js/dist/zone.js:216:50\nnode_modules/zone.js/dist/zone.js:571:61\ninvokeTask@node_modules/zone.js/dist/zone.js:356:43\nrunTask@node_modules/zone.js/dist/zone.js:256:58\ndrainMicroTaskQueue@node_modules/zone.js/dist/zone.js:474:43\ninvoke@node_modules/zone.js/dist/zone.js:426:41\nnode_modules/zone.js/dist/zone.js:93:33\ninvokeTask@node_modules/zone.js/dist/zone.js:356:43\nrunTask@node_modules/zone.js/dist/zone.js:256:58\ninvoke@node_modules/zone.js/dist/zone.js:423:41"
},
"line": 797,
"sourceURL": "node_modules/systemjs/dist/system.src.js"
}
What are the steps to reproduce?
Update to alpha.6-3
bgauvey, prabh-62 and katsuki-nakatani
Metadata
Metadata
Assignees
Labels
No labels