These are chat archives for systemjs/systemjs

2nd
Mar 2018
Petri Kola
@pe3
Mar 02 2018 14:39

Is it possible to use SystemJS inside a Webpack-transpiled project? I would like to load ES and AMD dependencies dynamically with it in a Create React App project. As soon as I import SystemJS to the codebase I get an error:

system.src.js:3860 Uncaught Error: Cannot find module "."
    at webpackMissingModule (system.src.js:3860)
    at new SystemJSLoader$1 (system.src.js:3860)
    at system.src.js:3981
    at Object.<anonymous> (system.src.js:3990)
    at Object../node_modules/systemjs/dist/system.src.js (system.src.js:3991)
    at __webpack_require__ (bootstrap a9014b3563ddab6c3227:678)
    at fn (bootstrap a9014b3563ddab6c3227:88)
    at Object../src/index.js (index.js:8)
    at __webpack_require__ (bootstrap a9014b3563ddab6c3227:678)
    at fn (bootstrap a9014b3563ddab6c3227:88)
    at Object.0 (logo.svg:1)
    at __webpack_require__ (bootstrap a9014b3563ddab6c3227:678)
    at ./node_modules/ansi-regex/index.js.module.exports (bootstrap a9014b3563ddab6c3227:724)
    at bootstrap a9014b3563ddab6c3227:724

Could someone explain what is going on?