systemjs Questions

11

I have an app which runs fine under localhost. I tried to put it out on an IIS server today as a child application. So the new path would be localhost/SubDir. System.js pukes everywhere trying t...
Whittling asked 1/12, 2015 at 1:14

2

I'm new to react..I have react application which i migrated to Single-SPA. To integrate my application with the master application(platform which has many Vue single-spa applications) i have re-str...
Philomenaphiloo asked 21/5, 2020 at 10:24

9

Solved

I need to import a JavaScript module from an in memory variable. I know that this can be done using SystemJS and Webpack. But nowhere can I find a good working example nor documentation for the sa...
Dou asked 20/7, 2019 at 2:59

4

Solved

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 ValidateJsonSe...
Jawbone asked 8/2, 2017 at 1:54

4

Solved

I'm working on a simple nodejs electron (formerly known as atom shell) project. I'm writing it using angular 2, using the project the same project setup as they recommend in the documentation for t...
Jillion asked 11/4, 2016 at 11:2

9

I'm using Angular 2 with SystemJS and trying to add a stylesheet to a component. Since I'm using SystemJS I can't use relative path as of now, so I used absolute path for the component's template u...
Commons asked 24/3, 2016 at 18:51

6

Solved

I'm using JSPM, AngularJS, TypeScript, SystemJS and ES6 and my project is running pretty well... unless I try to use momentJS. This is the error I get: TypeError: moment is not a function Thi...
Palaeozoic asked 8/2, 2016 at 15:9

19

Solved

How do you deploy Angular apps once they reach the production phase? All the guides I've seen so far (even on angular.io) are counting on a lite-server for serving and browserSync to reflect chan...
Envious asked 21/2, 2016 at 17:47

3

I'm using system.js and systemjs builder to create a dist folder with all the packed javascript files of my angular2 application. It works pretty nicely, except that it does not include the follow...
Mesentery asked 10/11, 2016 at 13:10

14

Solved

What is the best method to bundle Angular (version 2, 4, 6, ...) for production on a live web server. Please include the Angular version within answers so we can track better when it moves to late...
Ermelindaermengarde asked 4/6, 2016 at 13:59

1

I've been trying for days to understand why I have this error on my browser console, the full stack: Unhandled Promise rejection: NG0202: This constructor is not compatible with Angular Dependency ...
Foreclose asked 28/7, 2022 at 14:8

9

Solved

I'm trying to use momentJs from typescript: depending on what module system I'm using to compile typescript, I find a different behaviour on how I can use momentJs. When compiling typescript with c...
Guard asked 7/10, 2015 at 8:24

3

Versions typescript: 2.1.4 systemjs: 0.19.41 angular: 1.5.10 angular-mocks: 1.5.10 Problem I'm trying to load angular-mocks with systemjs in a typescript 2.0 project. If i use the following it ...
Hezekiah asked 12/1, 2017 at 15:56

2

Solved

I'm trying to include an unpkg link to a particular NPM package 'Angular Calendar' in my system.config.js file so I can run my site on a server without building every time. I don't know how to fi...
Squiggle asked 21/11, 2017 at 13:55

5

Hopefully this is a simple question. I am trying to import MongoDB using the es6 import-from style. If I import using node require it works fine. let mongo = require('mongodb'); let MongoClient = ...
Issykkul asked 12/3, 2016 at 20:26

2

Solved

I'm trying to create typescript server side (example code import mongoose from 'mongoose'; ) and I know I'm supposed to get systemjs initialized before, but I don't know how to in a server side scr...
Worsham asked 27/3, 2016 at 6:44

2

I saw in this post that you can use SystemJS to load external javascript files into my components in Angular 2. In my index.html : <script> System.config({ packages: { "frontOfficeA2/sr...
Cheboksary asked 9/3, 2016 at 17:20

4

Solved

I have installed foundation via jspm install foundation, then import foundation and jquery. The problem I am having is that if I import jquery via import $ as 'jquery' I get the error jquery_1.def...
Alveolate asked 10/2, 2016 at 8:44

2

Solved

I have an Angular app in Plunker which no longer works since I've upgraded my app to use Angular 6 and rxjs 6. This is my config.js file: var angularVersion; if(window.AngularVersionForThisPlunke...
Pleopod asked 11/7, 2018 at 14:36

2

I'm creating an Ionic app using es6 modules, TypeScript and SystemJS as a module loader. This is my setup: tsconfig.json: { "compilerOptions": { ... "target": "es5", "module": "system", ... ...
Concordia asked 11/1, 2017 at 15:4

2

Solved

I tried to build simple app using jspm with vue.js. This is my html file: <html> <head> <script src="bundle.js"></script> <!--script src="jspm_packages/npm/[email&#1...
Synapse asked 8/2, 2017 at 22:27

4

I have a recent version of angular-cli installed globally. The version is as follows. C:\Users\W055013\kumar\learn\rx>ng --version As a forewarning, we are moving the CLI npm package to "@angul...
Cultrate asked 17/2, 2017 at 10:31

5

Suppose I have an UMD module like this (saved in 'js/mymodule.js'): (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof...
Lipps asked 28/7, 2016 at 13:40

2

Solved

I was following JSPM getting started guide and I want to install jquery package so I execute below command. jspm install jquery But when I try to import it in typescript like below import $ fro...
Erastes asked 30/1, 2016 at 13:36

2

I am learning TypeScript and today I installed SystemJS so that I could import some files. First I only imported the main file that needed being run i.e. app.js, in index.html <script src="node...
Collywobbles asked 15/4, 2019 at 13:29

© 2022 - 2024 — McMap. All rights reserved.