angular/material-start

Cannot Start The application .

aashay-accolite opened this issue ยท 10 comments

I have install all the modules using npm and installed jspm.
All the files are in the respective folders.
Still not able to run the application.
Can somebody please help me ?
angularmatterialstart

phoqe commented

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.

@checklist can you do a pr please?

This was fixed by switching to traceur in 7792fa0.