-
Notifications
You must be signed in to change notification settings - Fork 122
weird error loading config.js #124
Comments
You need to manually install Babel-core ( |
a) the docs just say that |
The error is printed out of this:
|
Ok yes this is a bug, and is the same bug posted on the SystemJS gitter room earlier. I'm posting out a patch for ES6 Module Loader now. |
Ok I've published es6-module-loader 0.16.2 with a patch. If you |
I did the npm install suggested above, v0.16.3, and get the same error about |
Please try the test case above. If you'd like, I can package it up for you somewhere, but it is just creating a few files. |
I should add... how are things working now? This is a pretty simple test case. Is there something out of the ordinary that I'm doing here? |
@lookfirst the path |
Actually, I see the problem above...
Nested config. =( |
Wait though... still getting same error... that was just a typo in the example. I'll produce something and put it up on github. |
What I'm realizing is that it seems like the builder doesn't like to have the baseURL redefined. |
The only error I got here was:
I then fixed that by adding map config for babel-runtime. I created an issue to track that at systemjs/systemjs#392, but it wasn't actually failing the build. See screenshots below: |
Yes, that is the same error that I'm seeing. I didn't make it fail the build. There isn't an assertion for that. I was just using mocha to be able to run the builder. So this seems like a bug in systemjs then? |
Ok right, yes, as per the issue, and a different one to the cannot find |
By the way, you can use my code as a basis for writing some unit tests. =) I'd really like to see you get into the habit of doing that more. TDD for the win. If I can help, let me know... |
v0.10.3
system.config.js:
test.js:
test/fixutres/app/app.js:
The error message is:
If I remove
transpiler: 'babel'
from the system.config.js, it works fine and I get this output instead:The text was updated successfully, but these errors were encountered: