Error: (SystemJS) [BABEL] unknown: Unknown option: direct.0 ReferenceError: [BABEL] unknown: Unknown option: direct.0
Mohankumarj opened this issue ยท 15 comments
Always shows empty screen with this error on the browser
Hi, help me to work,
i Clone the latest version of Master and install npm, jspm, and run the live-server, lite-server,ng serve everything shows me the same error in the brower.
i cloned this link too https://github.com/angular/material-start/tree/es6-tutorial
same error.
I'm getting the same on Ubuntu 16.10 / Chrome 57:
Live reload enabled. Error: (SystemJS) [BABEL] unknown: Unknown option: direct.0 ReferenceError: [BABEL] unknown: Unknown option: direct.0 at Logger.error (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8955:11) at OptionManager.mergeOptions (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9463:29) at OptionManager.init (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9553:10) at File.initOptions (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8193:75) at new File (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8183:22) at Pipeline.transform (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:13515:16) Error loading http://localhost:8080/src/boot/boot.js at Logger.error (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8955:11) at OptionManager.mergeOptions (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9463:29) at OptionManager.init (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:9553:10) at File.initOptions (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8193:75) at new File (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:8183:22) at Pipeline.transform (http://localhost:8080/jspm_packages/npm/babel-core@5.8.38/browser.js:13515:16) Error loading http://localhost:8080/src/boot/boot.js
+1
+1
+1
Hey, I've tried to reproduce this issue, i re-cloned the repo, freshly installed jspm
and everything seems to work.
Can any of you please note the steps that lead you to this issue?
+1
+1
What version of node are you using? of jspm? i couldn't reproduce..
I'm using v6.10.2
I get this error when checking out the step-#
commits, and it seems to be fixed if I checkout the app/config.js
from master, this worked for me:
git checkout step-3
git checkout master app/config.js
npm install
live-server --open=app
@EliKrumholz works, thank you!
Maybe this should be fixed, not working examples are not fun
Example doesn't work! Unfortunately nobody's going to fix it
Fixed by @angelomichel on #165
This was fixed by the move from Babel to traceur. It should work on the following branches: master
, es6-tutorial
(which aligns with step-1), and es6
(which aligns with step-10).
The individual steps from 2-9 may not have this fix.