These are chat archives for systemjs/systemjs

8th
Nov 2018
Paul Kenney
@paulkenney
Nov 08 2018 18:15
Are there any guidelines on using systemjs 2.x on node?
Guy Bedford
@guybedford
Nov 08 2018 19:26
@paulkenney those workflows don't currently exist, no! Please post an issue and describe what you're after and I'll gladly put something together.
my main focus was on browser for this version because in Node we can output CJS from builds, and current version is much more geared towards built outputs
but it could still be useful to execute in Node certainly...
carlosagsmendes
@carlosagsmendes
Nov 08 2018 23:31
Hi there, what's the latest version of SystemJS that I can use with JSPM 0.16?
I have an app in production failing and it seems that some files aren't being loaded
Unhandled promise rejection Error: (SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js
   "Unhandled promise rejection"
   {
      [functions]: ,
      __proto__: { },
      description: "(SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js",
      message: "(SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js",
      name: "Error",
      originalErr: { },
      stack: "(SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js",
      Symbol()_f.ncmbbbjffag: undefined
   }

Unhandled promise rejection Error: (SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js
   "Unhandled promise rejection"
   {
      [functions]: ,
      __proto__: { },
      description: "(SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js",
      message: "(SystemJS) Unable to get property 'length' of undefined or null reference
    TypeError: Unable to get property 'length' of undefined or null reference
       at c (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4709)
       at Anonymous function (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:2:4837)
       at h (https://redacted.com/babel/browser-polyfill-bundle-4da0a50f4f.js:1:14565)
    Error loading https://redacted.com/app/widgets/social-share/social-share-bootstrapper.js",
      name: "Error",
      originalErr: { },
      stack: "(SystemJS) Unable to get property 'length' of undefined or null refe
The error only happens in IE11 and it happens (apparently) randomly.
Any ideas on how to handle it? Since there were several fixes to SystemJS I was considering upgrading it to version 0.21.5 but I'm not sure it is intended to work with JSPM 0.16
Thanks in advance