tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

Prase error should include file name #484

Open uhrohraggy opened 8 years ago

uhrohraggy commented 8 years ago

Not sure if this is an ember or ember-cli-rails issue, but parse errors should always return the file name or at least some path. It's correctly getting the line number of the file, but parsing through all of my changes (or in this case, a git commit with a lot of changes), looking through every file near line 4 is not practical. killing development. i tried overwriting your ember_build file to see what was happening but can't get i tto load in properly.

sample message:

:frontend has failed to build: Error: Parse error on line 4:

Which version of [npm][npm] is the project developed on? 3.8.6

Which version of [ember-cli][ember-cli] is the project developed on? 2.6.1

What is the [rails][rails] version? Rails 4.2.6

What is the [ember-cli-rails][gem] version (from Gemfile)? ember-cli-rails (0.7.3) cocaine (~> 0.5.8) ember-cli-rails-assets (~> 0.6.2) html_page (~> 0.1.0) railties (>= 3.2, < 5)

What is the [ember-cli-rails-addon][addon] version (from package.json)? "ember-cli-rails-addon": "^0.7.1",

Is your application server [multi-threaded][](such as puma and unicorn) or is it multi-process (such as thin and webrick)? thin

What are the contents of config/initializers/ember.rb? EmberCli.configure do |c| c.app :frontend end