Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@
});
System.import('dist/bootstrap')
.then(null, console.error.bind(console));
System.import('dist/bootstrap')
.then(null, console.error.bind(console));
</script>
</head>

<!-- 3. Display the application -->

<body>
<app>Loading...</app>
<home-body>Loading..</home-body>
</body>

</html>
45 changes: 45 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using npm@3.8.6
3 info using node@v5.11.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle a2-countries-and-capitals@1.0.0~prestart: a2-countries-and-capitals@1.0.0
6 silly lifecycle a2-countries-and-capitals@1.0.0~prestart: no script for prestart, continuing
7 info lifecycle a2-countries-and-capitals@1.0.0~start: a2-countries-and-capitals@1.0.0
8 verbose lifecycle a2-countries-and-capitals@1.0.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle a2-countries-and-capitals@1.0.0~start: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/coder/Projects/ng-conf/ng-conf-2016-hackathon-app/node_modules/.bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
10 verbose lifecycle a2-countries-and-capitals@1.0.0~start: CWD: /home/coder/Projects/ng-conf/ng-conf-2016-hackathon-app
11 silly lifecycle a2-countries-and-capitals@1.0.0~start: Args: [ '-c', 'tsc && concurrently "npm run tsc:w" "npm run lite" ' ]
12 silly lifecycle a2-countries-and-capitals@1.0.0~start: Returned: code: 2 signal: null
13 info lifecycle a2-countries-and-capitals@1.0.0~start: Failed to exec start script
14 verbose stack Error: a2-countries-and-capitals@1.0.0 start: `tsc && concurrently "npm run tsc:w" "npm run lite" `
14 verbose stack Exit status 2
14 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:850:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid a2-countries-and-capitals@1.0.0
16 verbose cwd /home/coder/Projects/ng-conf/ng-conf-2016-hackathon-app
17 error Linux 3.19.0-58-generic
18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
19 error node v5.11.0
20 error npm v3.8.6
21 error code ELIFECYCLE
22 error a2-countries-and-capitals@1.0.0 start: `tsc && concurrently "npm run tsc:w" "npm run lite" `
22 error Exit status 2
23 error Failed at the a2-countries-and-capitals@1.0.0 start script 'tsc && concurrently "npm run tsc:w" "npm run lite" '.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the a2-countries-and-capitals package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error tsc && concurrently "npm run tsc:w" "npm run lite"
23 error You can get information on how to open an issue for this project with:
23 error npm bugs a2-countries-and-capitals
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls a2-countries-and-capitals
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
4 changes: 3 additions & 1 deletion src/bootstrap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {bootstrap} from 'angular2/platform/browser';
import {Component} from 'angular2/core';

import { Main } from './main.component';

@Component({
selector: 'app',
Expand All @@ -13,3 +13,5 @@ export class App {}
bootstrap(App)
.then(success => console.log('Kicking off Countries and Capitals'))
.catch(error => console.log(error));

bootstrap(Main);
8 changes: 8 additions & 0 deletions src/main.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {Component} from 'angular2/core';


@Component({
selector: 'home-body',
template: `<h1>Yo! hello</h1>`,
})
export class Main {}