Closed Scapal closed 8 years ago
@Scapal Could you tell us what version of SystemJS and JSPM are you using?
JSPM 0.16.15 jspm_packages/system.js: v0.19.6
I found the problem too. Looking at it now. I will keep you updated.
@Scapal can set depCache: false
in the bundle config and see if the problem goes away. I think depCache
is causing a conflict here.
@ahmedshuhel it does indeed solve the problem
I am closing it here. It's a SystemJS bug/constraint. It seems like bundle and depCache cannot be used in parallel.
Using ES6 JSPM, while the bundling seems to work and the application runs as expected, there are errors in the browser console with system.js trying to load components already included in the bundle.
For example if I use the skeleton-es2016 and add a
test.js
:and modify the
welcome.js
as follow:When bundled, even as the app is running perfectly and accessing the bundled
test.js
, I will get:system.src.js:4597 GET http://localhost/~pascalfautre/Muungo/skeleton-es2016/test.js 404 (Not Found)
If I do
import {Test} from 'test';
then I don't have any error.