denysvuika / ng2-dynamic-content Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://denys.dev/2016-11-27/dynamic-content-in-angular/
License: MIT License
Home Page: https://denys.dev/2016-11-27/dynamic-content-in-angular/
License: MIT License
I have node v=6.10.0 and npm v=4.2.0
I have wright "npm install" its give lots of error
I created a component "app-myname" but When I am giving below string
<app-myname myname='Hashmi'></app-myname>
It is giving error.
VM1142 AppComponent_Host.ngfactory.js:5 ERROR Error: Template parse errors:
'app-myname' is not a known element:
Hi,
When browsing an application (based on angular-cli) compiled for production in Angular 4.0.3:
ng build --env=prod -prod
a runtime error happens when loading a dynamic component (RuntimeContentComponent):
Error: Runtime compiler is not loaded
The same happens when AOT is disabled:
ng build --env=prod -prod -no-aot --aot=false
[email protected] start C:\Users\rurbanski1\Projekty\ng2-dynamic-content
tsc && concurrently "tsc -w" "npm run serve"
node_modules/rxjs/Subject.d.ts(16,22): error TS2415: Class 'Subject' incorrectly extends base class 'Observable'.
Types of property 'lift' are incompatible.
Type '<T, R>(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'Observable' is not assignable to type 'Observable'.
Type 'T' is not assignable to type 'R'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: tsc && concurrently "tsc -w" "npm run serve"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rurbanski1\AppData\Roaming\npm-cache_logs\2017-07-21T12_03_26_512Z-debug.log
node v6.10.3
npm v5.3.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.