These are chat archives for filearts/plunker

6th
Jan 2018
ptitjes
@ptitjes
Jan 06 2018 00:16
Hello!

I have difficulties to understand how to add a dependency to Inversify in a plunker. I just added

'inversify': 'unpkg:inversify@4.9.0',

in the System.config map. But it says in console:

Error: (SystemJS) XHR error (404 Not Found) loading https://unpkg.com/constants/metadata_keys
    wrapFn@https://unpkg.com/zone.js@0.6.25:647:26
    ZoneDelegate.prototype.invokeTask@https://unpkg.com/zone.js@0.6.25:236:23
    Zone.prototype.runTask@https://unpkg.com/zone.js@0.6.25:136:28
    ZoneTask/this.invoke@https://unpkg.com/zone.js@0.6.25:304:28

    Error loading https://unpkg.com/constants/metadata_keys as "./constants/metadata_keys" from https://unpkg.com/inversify@4.9.0
Am I missing something ?
ptitjes
@ptitjes
Jan 06 2018 00:31
OK, got it! I had to do: 'inversify': 'unpkg:inversify@4.9.0/lib/inversify.js',