-1

Visual Studio 2015 update 1 TypeScript 1.7 Angular2 beta

I'm trying to create an angular2 demo and I can't seem to get things working just right.

I'm getting the error "Uncaught ReferenceError: require is not defined" on the "import { bootstrap } from 'angular2/platform/browser';" at runtime.

Here is my solution on github https://github.com/robertdunaway/katas-angular2/tree/master/001%20Angular2%20-%20getting%20started/after/src/vs2015-TS

user3448990
  • 323
  • 6
  • 15
  • 1
    You are missing the `System` configuration. Check https://angular.io/docs/ts/latest/quickstart.html – Langley Jan 15 '16 at 04:51
  • This is what I'm missing. Thank you. How do I mark this question as answered so you get credit? – user3448990 Jan 15 '16 at 05:02
  • 1
    You can't accept a comment, I'll put it as an answer. Just click the check mark below the number with the arrows. – Langley Jan 15 '16 at 05:02

1 Answers1

0

You are missing the System configuration. Check: https://angular.io/guide/quickstart

Evan Wieland
  • 1,445
  • 1
  • 20
  • 36
Langley
  • 5,326
  • 2
  • 26
  • 42