systemjs Questions

8

Solved

In an Angular app, I have seen that @Component has property moduleId. What does it mean? And when module.id is not defined anywhere, the app still works. How can it still work? @Component({ mod...
Tanbark asked 12/5, 2016 at 5:43

2

Solved

I am making a simple http request in my application. I am using Angular 2 Quickstart and updating all my angular packages to 4.3.4 This is my package.json { "name": "angular-quickstart", "...
Barthel asked 11/8, 2017 at 11:52

1

Solved

I have a simple TypeScript project with 2 classes: Main.ts and Ball.ts, first is importing the second one. I'm trying to create a setup similar to AS3 project, where you have one entry point class ...
Maxey asked 9/8, 2017 at 15:37

2

I'm playing around with system.js (inspired by angular2 using it for their tutorials), but I get ridiculously bad performance even for the most trivial sample. For example the following code has ...
Puny asked 16/9, 2015 at 20:49

2

Solved

I am new to Angular2 and I am interested in finding out if there is a possibility of reusing entire sets of presentation components from within one application in another application? For example ...
Tarn asked 6/10, 2016 at 15:19

1

Solved

I am trying to get my angular application to the point where it is ready for distribution and I have managed to create 2 bundles, one for my angular application and one for my dependencies (which i...
Carnal asked 11/7, 2017 at 19:39

3

Solved

I'm creating my first Angular application and I would figure out what is the role of the module loaders. Why we need them? I tried to search and search on Google and I can't understand why we need...
Every asked 8/7, 2016 at 9:36

1

My application is using JSPM and SystemJS for module loading and is using angular. My config.js file has angular map like: "angular": "github:angular/[email protected]" So when I do import...

1

I'm trying to bundle an angular 4.0.0 app. I've tried browserify but the new angular-loader plugin (that allows for not needing the moduleId in components with templateUrl) does not get called and ...
Metagnathous asked 16/4, 2017 at 11:41

1

I am using the typescript compiler to bundle my modules into one main.js file, using these settings in tsconfig.json: "module": "system", "out": "docs/js/main.js" This works, so according to the...
Commemorative asked 2/6, 2017 at 12:10

2

Solved

Here is SystemJS + TypeScript plunk, created from official Angular plunk template. It throws (SystemJS) SyntaxError: Missing initializer in const declaration at eval () ... error and ob...
Rustle asked 14/4, 2017 at 23:40

7

I am getting started with Angular2.0. I have been following the 5 Min Quickstart and everything works fine although I am using grunt to compile my Typescript and some Sass etc. I just have one pro...
Immediate asked 6/12, 2015 at 16:23

2

Solved

I was testing my version of the QuickStart tutorial from Angular 2 where I use a bundle js file. The index.html is like this: <html> <head> <title>Angular 2 QuickStart Deploy&l...
Accumulative asked 7/7, 2016 at 13:56

4

Solved

I'm following this video tutorial at the moment and I'm stuck with the simple HelloWorld App. At the time position 12m:31s is where I'm stuck it should show HelloWorld but it doesn't. The App is u...
Noonday asked 14/5, 2015 at 16:40

4

I'm using Typescript with SystemJS for module loading and Gulp for task runner in my Angular 2 project. The current version of Angular in the project is RC2 but the problem is present also with RC1...
Orifice asked 16/6, 2016 at 14:43

5

Solved

Mac OSX El capitan | angular-cli: 0.1.0 | node: 5.4.0 | os: darwin x64 I try to install a 3rd party npm module according to the angular-cli wiki: https://github.com/angular/angular-cli/wiki/3rd-pa...
Joppa asked 8/6, 2016 at 20:51

1

I have recently updated typescript at the new version 2.2.1 after this I began to receive this error on the browser: Uncaught (in promise) Error: "exports is not defined" I noticed that types...
Paries asked 16/3, 2017 at 14:10

0

I have my project that use SystemJS (i use a template that comes on this way). I need to build the final project to production env. I read that i can use systemjs-builder for this. I read the offi...
Aguste asked 11/4, 2017 at 0:43

1

Solved

I've been researching and doing simple "hello worlds" with TypeScript recently. There is something I think I can't wrap my head around and that is how to use System.js with TypeScript. Every single...
Horsefaced asked 30/3, 2017 at 11:28

1

I am trying to add Angular2 to my current Angular 1.X projects. I am using yo angular project, with TypeScript enabled. I installed everything (using npm install): <script src="/node_modules/s...
Cynarra asked 22/12, 2015 at 20:56

1

I want to be able to asynchronously load dependencies using System.import(), but without having to transpile ES6 to ES5 during production runtime. I want these modules to be transpiled into separat...
Farmer asked 15/3, 2016 at 18:11

3

I use angular-cli to generate a new project. Now I want to add socketJs to the project, but keep getting errors in browser console: GET http://localhost:4200/url-parse 404 (Not Found) GET http://l...
Monamonachal asked 9/7, 2016 at 5:55

1

I try to bundle my angular2 application with the typescript compiler with a tsconfig.js like this: { "compilerOptions": { "target": "es5", "module": "system", "moduleResolution": "node", "sou...
Phototransistor asked 14/3, 2017 at 14:0

3

I didn't know how to state the question... So, basically I'm writing my own application using Angular 2 with Typescript. I would like to make it possible to import my modules the way we do with An...
Borax asked 17/5, 2016 at 22:9

1

I am using angular-cli for development and I have used the following commands and code to build my project. npm install angular-cli (angular-cli: 1.0.0-beta.10) ng new my-app ng g component lazy...
Pinnatisect asked 31/7, 2016 at 18:38

© 2022 - 2024 — McMap. All rights reserved.