How to step into Angular 2 JavaScript code - import statements? -
i developing angular 2 application (exchangemodule) , receive following error when loading application:
127.0.0.1/:16 error: (systemjs) unexpected value 'frameworkservice' imported module 'exchangemodule' error: unexpected value 'frameworkservice' imported module 'exchangemodule' @ eval (http://127.0.0.1:8080/node_modules/@angular/compiler/bundles/compiler.umd.js:13982:37) @ array.foreach (native) @ compilemetadataresolver.getngmodulemetadata (http://127.0.0.1:8080/node_modules/@angular/compiler/bundles/compiler.umd.js:13967:46) @ runtimecompiler._compilecomponents (http://127.0.0.1:8080/node_modules/@angular/compiler/bundles/compiler.umd.js:16688:49) @ runtimecompiler._compilemoduleandcomponents (http://127.0.0.1:8080/node_modules/@angular/compiler/bundles/compiler.umd.js:16626:39) @ runtimecompiler.compilemoduleasync (http://127.0.0.1:8080/node_modules/@angular/compiler/bundles/compiler.umd.js:16617:23) @ platformref_._bootstrapmodulewithzone (http://127.0.0.1:8080/node_modules/@angular/core/bundles/core.umd.js:6868:29) @ platformref_.bootstrapmodule (http://127.0.0.1:8080/node_modules/@angular/core/bundles/core.umd.js:6850:25) @ object.eval (http://127.0.0.1:8080/app/main.js:6:10) @ eval (http://127.0.0.1:8080/app/main.js:9:4) evaluating http://127.0.0.1:8080/app/main.js error loading http://127.0.0.1:8080/app/main.js
i know how debug application code in chrome of webstorm don't understand how can step angular 2 code processes import statements error raised. putting breakpoint on import statement not - seems me angular 2 loads import statements en bloc there no benefit in putting breakpoint on selected import statement...
Comments
Post a Comment