I'm attempting to run Angular 2 alpha 44. I'm having a console error that 
traceur.js cannot be found. I was under the impression (thanks Eric 
Martinez for all your help!) that Angular 2 does not need traceur anymore, 
as of alpha 42. Then why does my alpha 44 app give this console error?

My index.html:

<html>
<head>
    <title>Angular 2 QuickStart</title>
    <script src="/node_modules/es6-shim/es6-shim.min.js"></script>
    <script src="/node_modules/systemjs/dist/system.js"></script>
    <script src="/node_modules/angular2/bundles/angular2.min.js"></script>
    <script src="/node_modules/angular2/bundles/router.dev.min.js"></script>


    <script>
        System.defaultJSExtensions = true;


        System.config({
            packages: {
                'app': { defaultExtension: 'js' }
            }
        });
        System.import('app');
    </script>
</head>
<body>
    <my-app>Vern is loading...</my-app>
</body>
</html>



My package.json (for npm):

{
  "name": "TestApp",
  "version": "1.0.0",
  "description": "",
  "main": "app.js",
  "scripts": {
 "tsc": "tsc -p src -w",
 "start": "live-server --open=./"
},
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "angular2": ">=2.0.0-alpha.44",
    "systemjs": "=0.18.17",
"es6-shim": ">=0.33.6"
  },
  "devDependencies": {
    "live-server": "^0.8.1",
    "typescript": "^1.6.2"
  }
}


My folder structure (all at same level):

node_modules
app.ts
index.html
package.json


Yes I know, it's not structured in src/app the way the tutorial has it...

Console error:

system.src.js:4208 GET http://localhost:63977/traceur.js 404 (Not Found)M @ 
system.src.js:4208(anonymous function) @ system.src.js:4208T @ 
angular2.min.js:1W @ angular2.min.js:1o.fetch @ 
system.src.js:4208(anonymous function) @ system.src.js:4208(anonymous 
function) @ system.src.js:4208(anonymous function) @ 
system.src.js:4208(anonymous function) @ system.src.js:4208(anonymous 
function) @ system.src.js:4208(anonymous function) @ 
system.src.js:4208(anonymous function) @ system.src.js:4208(anonymous 
function) @ system.src.js:4208n.run @ angular2.min.js:1(anonymous function) 
@ angular2.min.js:1k @ angular2.min.js:1A @ angular2.min.js:1I @ 
angular2.min.js:1(anonymous function) @ angular2.min.js:1n.run @ 
angular2.min.js:1(anonymous function) @ angular2.min.js:1h @ 
angular2.min.js:1

Any idea why I'm getting this?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to