Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect and warn about app.js and router.js if you also have coffee-equivalents #78

Open
kimroen opened this issue May 3, 2015 · 2 comments

Comments

@kimroen
Copy link
Owner

kimroen commented May 3, 2015

This is a common thing to run in to after updating ember-cli.

What happens is this:

You have an app.coffee file, and you also have an app.js file. This can happen when you update ember-cli, for example.

broccoli-coffee tries to generate an app.js file from the app.coffee file, but that file is already present, so you get an error.

What this issue is about is detecting these files (app.js and router.js) specificically and giving the user a warning, because they probably didn't mean to have both a js and cs version of them, it just happened accidentally. A specific error is better than the one you get now, which is kind of cryptic.

@hoIIer
Copy link

hoIIer commented Mar 13, 2016

hello,

I upgraded to latest ember/ember-cli and now I'm getting this error:

Error: EEXIST, file already exists '/Users/eric/Projects/myapp/overlord/build/client-web/tmp/coffee_script_filter-output_path-XZuGEV4i.tmp/client-web/routes/application.js'

any idea what's causing it or how to resolve it? I do not have myapp/routes/application.js only the coffeescript version

@kimroen
Copy link
Owner Author

kimroen commented Jun 5, 2016

@erichonkanen Sorry for the late reply. I don't think this problem is related to this issue. Are you having problems beyond what you reported in #87 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants