auth0-blog / angular2-the-new-horizon-sample Goto Github PK
View Code? Open in Web Editor NEWSample project for Angular 2: The new horizon talk at jQuerySF
Sample project for Angular 2: The new horizon talk at jQuerySF
I am too perfectionist, but the banner on the webpack config is not correct.
Cloned the repo, npm i and then npm start made webpack error.....
[0] multi app 40 bytes {2} [built] [1 error]
ERROR in ./src/index.ts
Module build failed: TypeError: Cannot read property 'map' of undefined
at createService (/home/mick/work/angular2-the-new-horizon-sample/node_modules/typescript-simple-loader/dist/typescript-simple-loader.js:53:13)
at getLoaderInstance (/home/mick/work/angular2-the-new-horizon-sample/node_modules/typescript-simple-loader/dist/typescript-simple-loader.js:140:19)
at Object.loader (/home/mick/work/angular2-the-new-horizon-sample/node_modules/typescript-simple-loader/dist/typescript-simple-loader.js:12:14)
@ multi app
ERROR in ./src/common/BrowserDomAdapter.ts
Module build failed: TypeError: Cannot read property 'map' of undefined
at createService (/home/mick/work/angular2-the-new-horizon-sample/node_modules/typescript-simple-loader/dist/typescript-simple-loader.js:53:13)
at getLoaderInstance (/home/mick/work/angular2-the-new-horizon-sample/node_modules/typescript-simple-loader/dist/typescript-simple-loader.js:140:19)
at Object.loader (/home/mick/work/angular2-the-new-horizon-sample/node_modules/typescript-simple-loader/dist/typescript-simple-loader.js:12:14)
@ multi angular2
Bleeding edge reviewer reporting for duty, sir.
The:
<p [innerHTML]="'Location ' + person.location.toString()"></p>
That is not working. I tried with [text] which was recommended in a talk but not working either.
I guess you want to show a different way than using {{foo}} but I don't get it working.
Will open a PR if I manage to fix it.
I get these errors when I run npm install
npm WARN package.json [email protected] No README data npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN unmet dependency /home/odette/Dropbox/Apps/ng2/angular2-the-new-horizon-sample/node_modules/angular2 requires rx@'2.5.1' but will load npm WARN unmet dependency /home/odette/Dropbox/Apps/ng2/angular2-the-new-horizon-sample/node_modules/rx, npm WARN unmet dependency which is version 2.5.3 npm WARN unmet dependency /home/odette/Dropbox/Apps/ng2/angular2-the-new-horizon-sample/node_modules/angular2 requires zone.js@'0.5.0' but will load npm WARN unmet dependency /home/odette/Dropbox/Apps/ng2/angular2-the-new-horizon-sample/node_modules/zone.js, npm WARN unmet dependency which is version 0.5.1
I'm new to this. What am I doing wrong?
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.