systemjs Questions
2
Solved
I would like to migrate to SystemJS from requirejs however I am failing to find a solution as requirejs have for module versioning.
For example in production (ASP.Net website) I have set RequireJS ...
4
Solved
I tried to import the http provider into a service, but I'm getting the following error:
Cannot resolve all parameters for 'AppService'(?). Make sure that all the parameters are decorated with I...
Coney asked 12/2, 2016 at 19:9
3
I am using jQuery in my angular 5 app which works perfectly but I have an issue with karma tests.
import { ElementRef } from '@angular/core';
declare var jQuery: any;
export class Item {
constru...
0
We have this old code which was written in SystemJS version 0.21.3. We are trying to use the latest version of SystemJS to load the module dynamically from an in-memory JavaScript variable.
Can an...
Jupon asked 19/7, 2019 at 9:47
18
Solved
I've got a problem loading a class into an Angular component. I've been trying to solve it for a long time; I've even tried joining it all in a single file. What I have is:
Application.ts
/// <...
Octroi asked 1/6, 2015 at 17:57
3
Solved
I'm creating an angular 7 project with systemjs to load dynamically a module.
When I try to use it, I have this error:
ERROR ReferenceError: SystemJS is not defined
My package.json contain sys...
Topgallant asked 15/11, 2018 at 15:40
1
I'm having an incredibly hard time understanding the modules and need a way to debug my issues. Is there a way to enumerate modules and their exports using SystemJS?
The config file seems like a ...
Mauser asked 26/5, 2016 at 9:1
0
Originally these where JS files and all was well. But I wanted some simple type checking, so I converted to TypeScript.
What I would like is to compile all the .ts files into one .js suitable for ...
Hyaena asked 11/4, 2019 at 0:19
3
Solved
I've stumbled upon some snippets similar to this one:
System.import('core-js').then( function() {
System.import('polymer/mutationobservers').then( function() {
System.import('aurelia-bootstrapp...
Cycloplegia asked 15/8, 2015 at 16:35
0
I am new to Type scripts, and I am getting the below error.
Uncaught TypeError: System.config is not a function
at systemjs.config.js:53
at systemjs.config.js:55
please let me know what more ...
Louisiana asked 15/10, 2018 at 5:58
2
Solved
I am attempting to create some basic tests to try out the new Cypress library. In my test I have cy.visit('http://mywebsite.com'); which is loading an AngularJS app that uses SystemJS.
If I under...
Enamel asked 15/11, 2017 at 5:24
4
I've come up against this issue Invalid URL is thrown when requiring systemjs in jest test cases
One of the last comments suggests
"manipulate the jsdom instance to have a valid location / baseUR...
2
Solved
I'm trying to bootstrap a web app using TypeScript and jspm & system.js for module loading. I'm not getting very far. After installing jspm, and using it to install jQuery:
jspm install jquery...
Gianna asked 5/2, 2016 at 12:13
3
Solved
what does var map,packages, var config do. And also the explain all the configuration property for the map and package object. Is there any documentation for available configuration?
Here is my Sy...
2
Here is what i'm trying de achieve :
I want to create an app using "plugins", by plugins I mean :
Another angular component/module that could be deployed on a remote host and displayed in my app...
2
Solved
Is it possible for Angular 5 to load modules/components that are not known at compile time, but during runtime dynamically?
I guess this won't work using webpack but maybe using system.js?
EDIT:
...
Ferity asked 2/2, 2018 at 20:30
1
Solved
I have an angular app that are built using Typescript and bundled together with webpack. Nothing unusual here.
What i want to do is to allow plugins on runtime, which means that components and/or ...
1
Solved
I would like to call a TypeScript (ultimetely JavaScript) function from HTML. The Problem is that I would also like to use a module System (systemjs, commonjs etc.) and also webpack.
Here is an ex...
Faroff asked 10/1, 2018 at 9:18
2
Solved
I have two angular 2 apps in the following structure:
/app
/app1
/app2
/shared
Inside my angular 2 compon...
Gunpoint asked 23/7, 2016 at 4:36
0
I have been trying to dynamically load an external angular module (AppA) into another angular application (AppB) at runtime.
AppA is created with angular-cli, compiled with ngc and packaged with r...
Jannjanna asked 15/11, 2017 at 16:2
1
Solved
If I have a lib, say utils.js which looks like this
exports.foo = function () {
return 'foo';
};
exports.bar = function () {
return 'bar';
};
Which can be used as follows
import {foo} from '...
Trombidiasis asked 23/2, 2017 at 10:24
3
Solved
I am having the following problem running the below versions of JSPM with Angular2 and SystemJS (Versions: [email protected] with [email protected] and [email protected]) That once t...
Bilk asked 18/6, 2015 at 9:42
5
I'm using SystemJS to load my es2015 project into the browser.
This is what I did
import {Observable} from 'rxjs/Rx';
const button = document.querySelector('button');
const start$ = Observable....
Grunt asked 18/2, 2017 at 11:22
2
Solved
When I'm on the `http://localhost/overview', the module is loaded along this path:
http://localhost/app/modules/overview/overview.module.js
But when I turn to the page http://localhost/overview/u...
Chloral asked 12/9, 2017 at 12:40
2
Solved
I have the following error when trying to start my Angular2 application:
Failed to load resource: the server responded with a status of 404 (Not Found)
angular2-polyfills.js:332 Error: Error: XHR ...
© 2022 - 2024 — McMap. All rights reserved.