Angular 2 Nested Component -
i getting following error when developing angularjs 2 application .
step 1: have created new component
step 2: have added component app.module.ts
step 3: added component existing markup .
now getting following error
not able find out reason error .
here code repository
your problem located in static js file:
https://github.com/vmurali100/angular2_error/blob/master/dist/app.module.js#l20
it not changed after running npm start
add tsconfig.json project contents like:
{ "compileroptions": { "target": "es5", "module": "commonjs", "moduleresolution": "node", "sourcemap": true, "lib": [ "es2015", "dom" ], "outdir": "dist", // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< required "emitdecoratormetadata": true, "experimentaldecorators": true, "removecomments": false, "noimplicitany": false }, "exclude": [ "node_modules" ] } and should able update static js files. i don't understand why they in github repo.

Comments
Post a Comment