Cannot Start The application .
aashay-accolite opened this issue ยท 10 comments
Can confirm, getting this with a fresh master branch. @devversion
Having same issue. Is this an issue with current master branch?
Error: (SystemJS) [BABEL] unknown: Unknown option: direct.0
ReferenceError: [BABEL] unknown: Unknown option: direct.0
at Logger.error (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8955:11)
at OptionManager.mergeOptions (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9463:29)
at OptionManager.init (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9553:10)
at File.initOptions (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8193:75)
at new File (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8183:22)
at Pipeline.transform (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:13515:16)
Error loading http://127.0.0.1:8080/src/boot/boot.js
at Logger.error (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8955:11)
at OptionManager.mergeOptions (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9463:29)
at OptionManager.init (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9553:10)
at File.initOptions (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8193:75)
at new File (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8183:22)
at Pipeline.transform (http://127.0.0.1:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:13515:16)
Error loading http://127.0.0.1:8080/src/boot/boot.js
Also getting this with a fresh master branch.
Can you validate that the code is not babelified as well?
The error caused (on my machine) because it didn't went through babel.
Go to: http://127.0.0.1:8080/src/boot/boot.js
This url should not start with:
import angular from 'angular'; ...
I've committed a fix and asked for a pull request: #165
This should fix it if you re-run npm i
.
ps, the latest version 6.22.1 cannot be used yet in combination with jspm.
This was an issue for me in any other branch/tag besides es6-tutorial. Even step-10-finished was broken, giving me this message about importing babel-core.5.8.38. I was able to resolve the issue by copying the es6-tutorial config.js into the other branches as I was working, as that was the only file I could find the string 5.8.38 in. Hope that helps.
@EladBezalel - Can you investigate please.
@dave-mitchell got it to work for me. This is the file you need: https://github.com/angular/material-start/blob/es6-tutorial/app/config.js
@checklist can you do a pr please?