I'm making a website using Angular2 and I'm having what i suppose is an issue. On the first load of my angular page, SystemJS is making more than 500 hundred requests to retrieve every Angular2 file in angular2/src directory. In total, the...
I am a complete beginner to Angular and Angular2. I am confused about how the workflow is structured. I have been looking at the sample project that is present in the Angular2 site.   Correct me if I am wrong but what I know till now is that all the...
I have followed the instructions at angular material2 Getting Started to install @angular/material. Via Atom, I updated package.json, app.module, and beyond the Getting Started instructions, I updated systemjs.config, as follows: '@angular/materi...
I've compiled several js files into one SFX as described in https://github.com/systemjs/builder#example---common-bundles (although using '+' instead of '&', but this part seems to be working):  gulp.task('systemjs', [&...
I've got an angular 2 app working inside firefox and chrome, not so much inside (sigh) IE. Based on my stack trace, it looks like there is a problem with my System js setup.  Here is the error description that I see inside my web console.  Error:...
I'm using System.js to load modules written in TypeScript. System.js wraps my original code in a function, therefore when I have an error in my code and I try to see it in Chrome developer tool, clicking on the error just brings me to the first l...
I can't seem to figure out how to import JSNLog into my ES6 (babel) based Aurelia project.  I've tried:  import 'jsnlog';            // JL is undefined import JL from 'jsnlog';    // JL is {} import {JL} from 'jsnlog';...
I tried configure SystemJS for Auth0 (angular2-jwt) and Angular 2.0.0-beta.6 but always I get the following error:  GET http://localhost:3000/angular2/http 404 (Not Found)fetchTextFromURL @ system.src.js:1068(anonymous function) @ system.src.js:1649l...
I have this class where I try to instantiate Ajv with the new keyword and I get this error:     TypeError: Ajv is not a constructor   Code:  import * as Ajv from "ajv";      export class ValidateJsonService {         validateJson(json, schema...
I have a working Aurelia SPA web app, but if I set in my web.config the Content-Security-Policy option like this  <add name="X-Content-Security-Policy" value="default-src 'none'; frame-src 'self'; script-src 'self&#...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.