diff --git a/index.html b/index.html index 222e67a..483f91c 100644 --- a/index.html +++ b/index.html @@ -28,6 +28,8 @@ }); System.import('dist/bootstrap') .then(null, console.error.bind(console)); + System.import('dist/bootstrap') + .then(null, console.error.bind(console)); @@ -35,6 +37,7 @@ Loading... + Loading.. diff --git a/npm-debug.log b/npm-debug.log new file mode 100644 index 0000000..bc679f0 --- /dev/null +++ b/npm-debug.log @@ -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. (/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. (/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 ] diff --git a/src/bootstrap.ts b/src/bootstrap.ts index 74df08e..070a7a5 100644 --- a/src/bootstrap.ts +++ b/src/bootstrap.ts @@ -1,6 +1,6 @@ import {bootstrap} from 'angular2/platform/browser'; import {Component} from 'angular2/core'; - +import { Main } from './main.component'; @Component({ selector: 'app', @@ -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); \ No newline at end of file diff --git a/src/main.component.ts b/src/main.component.ts new file mode 100644 index 0000000..b3c58a0 --- /dev/null +++ b/src/main.component.ts @@ -0,0 +1,8 @@ +import {Component} from 'angular2/core'; + + +@Component({ + selector: 'home-body', + template: `

Yo! hello

`, +}) +export class Main {}