N
N
Nikolay Semenov2018-06-25 17:43:44
JavaScript
Nikolay Semenov, 2018-06-25 17:43:44

Traucer.js not found?

Guys, hello everyone.
I get this error when starting the screen application,
5b30fddbf24a2244304843.png
and the thing is that I'm trying to connect the amchart library

/**
* System configuration for Angular samples
* Adjust as necessary for your application needs.
*/
(function (global) {
System.config({
baseURL: Config.baseAddress,
defaultJSExtensions: true,
paths: {
// paths serve as alias
"npm:": "node_modules/",
"sbt:": "app/"
},
// map tells the System loader where to look for things
map: {
// our app is within the app folder
//'app': "app",
"block-structure": "app/model-versions/block-structure/block-structure.module.js",
"typed-models": "app/typed-models/typed-models.module.js",
"app-report": "app/reports/report.module.js",
"tests": "app/tests/tests.module.js",

// angular bundles
'@angular/core': "npm:@angular/core/bundles/core.umd.js",
'@angular/common': "npm:@angular/common/bundles/common.umd.js",
'@angular/compiler': "npm:@angular/compiler/bundles/compiler.umd.js",
'@angular/platform-browser': "npm:@angular/platform-browser/bundles/platform-browser.umd.js",
'@angular/platform-browser/animations': "npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js",
'@angular/platform-browser-dynamic': "npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js",
'@angular/common/http': "npm:@angular/common/bundles/common-http.umd.js",
'@angular/http': "npm:@angular/http/bundles/http.umd.js",
'@angular/router': "npm:@angular/router/bundles/router.umd.js",
'@angular/forms': "npm:@angular/forms/bundles/forms.umd.js",
'@angular/animations': "npm:@angular/animations/bundles/animations.umd.js",
'@angular/animations/browser': "npm:@angular/animations/bundles/animations-browser.umd.js",
'angular-in-memory-web-api': "npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js",

'@amcharts/amcharts3-angular': "npm:@amcharts/amcharts3-angular/es2015/index.js",
// other libraries
'rxjs': "npm:rxjs",
'tslib': "npm:tslib/tslib.js",
'primeng': "npm:primeng",
'core-js': "npm:core-js",

// components
"components": "sbt:components", // TODO
"api": "sbt:common/api"
}//,
//packages tells the System loader how to load when no filename and/or no extension
//packages: {
// "block-structure": {
// main: "main.js"//, // TODO? пока не используется, не работает, разобраться
// //meta: {
// // './*.js': {
// // loader: "systemjs-angular-loader.js"
// // }
// //}
// },
// rxjs: {
// //defaultExtension: "js"

// },
// primeng: {
// //defaultExtension: 'js'
// }
//}
});
})(this);

help others

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question