Questions tagged [jspm]

jspm is a package manager for the SystemJS universal module loader, built on top of the dynamic ES6 module loader.

With jspm load any module format (ES6, AMD, CommonJS and globals) directly from any endpoint such as npm and github with flat versioned dependency management. Any custom endpoints can be created through the Endpoint API.
For development, load modules as separate files with ES6 and plugins compiled in the browser.
For production, optimize into a bundle, layered bundles or a self-executing bundle with a single command.

546 questions
0
votes
1 answer

aurelia-bootstrapper not found after upgrading to jspm beta

I've upgrade to the latest JSPM sudo npm install -g jspm@beta And reinstalled all packages by deleting the jspm_modules folder and running jspm install jspm dl-loader Now when I start my Aurelia project, I get the following output GET…
Matthew James Davis
  • 12,134
  • 7
  • 61
  • 90
0
votes
1 answer

Angular + ES6 modules: controller function undefined

I'm struggling with my first use of jspm, and need a quick point in the right direction. (I've loaded ES6 classes before but only as part of concatenated files.) This is an extract of my bootstrapping code import angular from 'angular'; import…
Simon H
  • 20,332
  • 14
  • 71
  • 128
0
votes
1 answer

Using MOUT.js module with JSPM

How do import a MOUT module, eg array equals, into a file using JSPM?
mynameisnotallowed
  • 564
  • 1
  • 11
  • 34
0
votes
1 answer

JSPM + Cordova + Android

I get the following error when using JSPM CDN JavaScript, Cordova 5.1.1, TypeScript and Android: Failed to load resource: the server responded with a status of 404 (Not Found) system@0.16.js (0,0) I took the default VS2015 TypeScript Cordova…
DeanB_Develop
  • 2,107
  • 3
  • 23
  • 37
0
votes
1 answer

ES6 Class gives error when I instantiate it

I am getting up to speed on ES6 classes loaded with JSPM. For example: export class Alerter{ doAlert(message) { alert(message); } } Then I import this above another class: import Alerter from 'services/alerter'; Then I use the…
Greg Gum
  • 33,478
  • 39
  • 162
  • 233
0
votes
1 answer

Aurelia bundle: error loading "aurelia-cli"

When I run aurelia's bundler I get the following error: D:\Code\Test>aurelia bundle info: Using Aureliafile: D:\Code\Test\aureliafile.js info: Creating bundle ... Potentially unhandled rejection [6] Error: Error loading "aurelia-cli" at…
Meirion Hughes
  • 24,994
  • 12
  • 71
  • 122
0
votes
1 answer

Typescript file exporting interfaces comes up 404 using JSPM

I'm using Typescript 1.5. I started using jspm. I have a few files that just consist of interface exports. In my tsconfig the module is set to 'system'. It seems to not like files that are just exporting interfaces. It's giving me 404 errors,…
Robert Baker
  • 25,593
  • 1
  • 20
  • 21
0
votes
2 answers

How do I configure my index.html with Systemsj to use an existing bundle?

I have a small TypeScript helloworld application that uses the aurelia.io framework from a bundle file and configured using SystemJS. When I run my app, the compiled typescript version of my helloworld.ts throws an error which reads: TypeError:…
bedo
  • 866
  • 8
  • 15
0
votes
0 answers

JSPM bundle fails when use node-sass module

I'm triyng to build a module for Jspm using node-sass but when i try to bundle the package I'll receive this error: jspm bundle-sfx index Building the single-file sfx bundle for index... err Error: Error loading…
0
votes
1 answer

How to configure SystemJS to get new instances of modules loading into a Jasmine test suite

We have been using RequireJS, Bower and npm for quite some time. Now we are very impressed with jspm and SystemJS. We like that they: work with AMD minimizing the pain of converting our existing code allow us to write ES2015 modules utilizing…
cResults
  • 733
  • 1
  • 5
  • 17
0
votes
1 answer

How to connect Aurelia to Firebase?

Is fbh-firebase-util compatible with aurelia? How to use it? fbh-firebase-util via jspm: jspm install github:djindjic/fbh-firebase-util
Vicheanak
  • 6,444
  • 17
  • 64
  • 98
0
votes
2 answers

Where are my changes saved when I execute "jspm registry create myregistry jspm-git"?

I have a repository on bitbucket that I want to manage with jspm but I always get timeouts on lookup where-as my coworker is successfully prompted for his username and pass. I'm trying to locate my registry for jspm in order to debug - but am unable…
buddyp450
  • 528
  • 2
  • 10
  • 27
0
votes
4 answers

Aurelia JSPM install -y not working on window

I am doing the aurelia tutorial http://aurelia.io/get-started.html Im trying to install aurelia dependencies using gulp and jspm. I runned "jspm install -y" with no problem. And when I go to the browser and open the console i have this…
Fabho
  • 249
  • 1
  • 3
  • 8
0
votes
1 answer

Nameless requires in JSPM

Basic question, im trying to convert my webpack project to jspm, in which i load JS based on the site's current view, like this: var currentView = document.body.getAttribute('data-jscontroller'); if ( currentView ) { var viewPath =…
Luis Martins
  • 1,421
  • 2
  • 18
  • 32
0
votes
1 answer

Integrating JSPM workflow with Wordpress development

Im trying to adopt JSPM as my package manager for Wordpress development but im failing at loading the main app file. This is usually done with The problem im running into is that jspm fails to…
Luis Martins
  • 1,421
  • 2
  • 18
  • 32
1 2 3
36
37