Comments (10)
Hi there, Christopher.
I'm not sure what you particular problem is here, but some thoughts:
- Can you try the newest version of ember-cli? There have been some similar-looking issues there that I believe have been resolved: ember-cli/ember-cli#3413
- Could it be that you have a
.coffee
and.js
file in your app with the same name?
from ember-cli-coffeescript.
Having the same issue with this library. And yes @kimroen, it was because during the ember reset process, ember-cli creates a few of the js files. The ones I came across were router.coffee
which was duplicated with a router.js
. I also use emblem and ember-cli added an application.hbs
, when I had application.emblem
@Truffula deleting router.js should resolve your issue
from ember-cli-coffeescript.
Thanks @tolgaek. Hopefully that solves your problem, @Truffula.
I'd really like to overwrite the app-blueprint so that when you do ember init
you get coffee-files, but we've discussed this in #65. The currently proposed solution there won't help with this. I just can't keep a blueprint with all the files in the app-blueprint up to date.
Maybe if I could "extend" the blueprint and only overwrite the files that are different?
A different approach could be to detect this and show a more informative error message if you have these duplicates.
Thoughts?
from ember-cli-coffeescript.
We'll try to find a solution for this, but I'll close in favor of #65.
from ember-cli-coffeescript.
Thanks, and sorry for the delay in replying! It was ... an out-of-date package, I think?
(Sorry, became a dad recently so I'm a little sleep-deprived!)
from ember-cli-coffeescript.
@Truffula Congratulations!
from ember-cli-coffeescript.
I'm running into a similar issue after upgrading Ember Simple Auth.
I have a /routes/application.coffee
then I install Ember Simple Auth
then I get the this error:
EEXIST, file already exists '/Users/michaeldeitcher/Workspace/trekaroo_js/tmp/coffee_script_filter-output_path-9vXQqp8u.tmp/trekaroo-js/routes/application.js'
If I delete this file the issue goes away:
/Users/michaeldeitcher/Workspace/trekaroo_js/node_modules/ember-simple-auth/app/routes/application.js
#65 Does not address this problem with addon compatibility. Please help.
from ember-cli-coffeescript.
@michaeldeitcher Sorry that you're running in to this. You're right that there is an issue, but it's more related to #87. In there, you'll find that the temporary solution to this is actually to use javascript for your application route.
There is a lot more description of the issue and potential solutions over there, and I'd love any and all help if you have resources to spare.
from ember-cli-coffeescript.
Thanks for your response @kimroen. I ended up converting the file to js and it's working fine. I'll take a look at #87
from ember-cli-coffeescript.
+1 I just ran into this same issue... kind of annoying to have to use js for certain files as it defeats the purpose of using coffeescript! is this something that is an issue with ember-simple-auth and needs to be addressed or a larger issue with addons?
from ember-cli-coffeescript.
Related Issues (20)
- blueprints not working in ember 2.7.0 HOT 18
- Change name of ember npm package in `after` HOT 2
- Add `vendor` to broccoli tree/node HOT 1
- Who is still holding out and using coffeescript with Ember? HOT 2
- Update broccoli-coffee dependency to 0.7.0 HOT 2
- Update README now that import/export are in CoffeeScript HOT 3
- ember server freezes on windows in v1.15.0 after creating component HOT 4
- Addons created in coffeescript can only be consumed by applications with coffeescript HOT 7
- Test that generated blueprints are valid CoffeeScript HOT 4
- Export classes directly instead of saving to variable
- Generated code no longer pass the tests HOT 2
- Make `utils` generated files export named function HOT 4
- Investigate if addon blueprints can be removed.
- Add missing `instance-initializer` blueprints
- When a route doesn't have a model property defined and the route is hit, the route is unrecognized HOT 1
- Ember generate: `ember-cli/ext/promise` is deprecated
- Support coffeescript 2 HOT 6
- Blueprints do not work with new ember-cli HOT 4
- Tests are not generated for CoffeeLint
- Cannot find module 'ember-cli/lib/ext/promise' on "ember help g" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-coffeescript.