Questions tagged [ember-cli]

Node.js module which provides a command line interface (CLI) for developing Ember.js applications

A command line utility for creating applications.

Applications created with this tool benefit by being structured according to an ideal project template for Ember.js. It is also "batteries included", with support for generators/blueprints, dependency management, asset compilation, testing, and ECMAScript 6 modules.

For more information see the project documentation and the GitHub project page.

3109 questions
1
vote
3 answers

Inline-if inside button triggers deprecation warning and error

I'm trying to bind whether a button is active or disabled on a computed property but get this depcreation warning and error afterwards. This is troublesome button (Ember 1.11.1 here):
1
vote
0 answers

Generated Application Controller #needs does not include itself

I'm migrating a web app from ember tools to ember-cli and having issues. So far I've been able to handle all of the errors, but not this one. I have an auth controller. On several pages I include the needs:["auth"], but the error that I'm seeing…
atschaal
  • 355
  • 1
  • 14
1
vote
1 answer

Ember How to handle routing for search results child routes

Here's an image that illustrates the design I was given and need to develop in ember. I'm a bit at a loss on how to handle the routing and implementation in ember. So to explain this simplified example, say I have a search results page (results are…
Chava Sobreyra
  • 841
  • 1
  • 9
  • 20
1
vote
1 answer

What is Ember.bind and how does it work?

Hi i have read the documentation and a couple of blog posts and i still don't understand what is happening with .bind(this) in the code below. The code works for me but i hate not understanding what is going on What would happen if i deleted…
tharderer
  • 83
  • 1
  • 5
1
vote
1 answer

How to iterate some models [I can't understand]

When I use the Ember inspector I can look at my three models with their data. How can I use an each in my template? Something like this: {{#each item model.entry}} I'm using RestAdapter This is my route import Ember from 'ember'; import config…
Rojke
  • 47
  • 1
  • 9
1
vote
1 answer

Could not find module `simple-auth-devise/configuration`

I've just been trying to install ember-cli-simple-authand ember-cli-simple-auth-devise. I went through the exact same process last week and it worked fine. However, since then, Ember CLI has been updated and the install:addon command has been…
Joe Czucha
  • 4,123
  • 2
  • 20
  • 28
1
vote
1 answer

Ember-cli throwing Unexpected Token error

Undoubtedly this error is something easy for an ember expert to identify but thats not me so here it is Ember-cli identifies blank space before this line as an unexpected token: this.store = container.lookup('store:main'); /*global md5*/ import…
tharderer
  • 83
  • 1
  • 5
1
vote
0 answers

Uncaught Error: Could not find module ember-cli-tooltipster/components/tool-tipster

I just installed https://www.npmjs.com/package/ember-cli-tooltipster on my ember cli app. $ npm install ember-cli-tooltipster --save-dev $ ember g ember-cli-tooltipster however when I load the rmber app on the browser i get the following error…
Shivam Sinha
  • 4,924
  • 7
  • 43
  • 65
1
vote
1 answer

ember-cli with EmbeddedRecordsMixin not embedded model

This is my first question in Stackoverflow. :) My problem is the next: I am trying to send a JSON to my API (via POST) with this format: Events: [ { id: 2, name: "foo", Eventcategories: [1,2] }] Embedding a hasMany Eventcategories association…
Angel VB
  • 54
  • 7
1
vote
1 answer

Ember CLI -- store.find doesn't work when searching for all results with a given name

I'm trying to search for all employees that have a title of developer As per the documentation (http://guides.emberjs.com/v1.10.0/models/finding-records/) It seems the correct way to do this is: return this.store.find('employee', { title:…
TheCompiler
  • 310
  • 2
  • 11
1
vote
1 answer

How can I unit test a method that results in an Action

In my Ember application, I have a simple form component, with the following behavior (snippet): ... let searchText = this.get('searchText') && this.get('searchText').trim().toLowerCase(); this.sendAction('searchTextChanged', searchText); ... How…
chris
  • 2,404
  • 3
  • 27
  • 33
1
vote
1 answer

Hosting Ember-CLI app on Parse.com

This is a follow-up question to Ember.js app, Parse throws 404 for any path but root: I have built an Ember-CLI app that I now want to host on Parse.com. I can't figure out how to actually run the app server on Parse. I confess I don't understand…
blisstdev
  • 633
  • 4
  • 13
1
vote
2 answers

How to use `model` in the route?

I don't understand which one of the following ways make more sense in the Ember workflow. What is cleaner? It is better to have one model like in this code? app/routes/index.js import Ember from 'ember'; export default Ember.Route.extend({ model:…
wintermeyer
  • 8,178
  • 8
  • 39
  • 85
1
vote
2 answers

How to render component/helper by name from instance field?

Is there way to use component from controller/view field So instead of using {{contact-select label="Label:" contacts=form.prop}} // or {{input-field label="Label:" contacts=form.prop}} // or {{datepicker-component label="Label:"…
Vasiliy vvscode Vanchuk
  • 7,007
  • 2
  • 21
  • 44
1
vote
1 answer

How to swap adapters for Ember-parse-adaptor to default when offline

How can I swap my adapters for an environment? I want to just use a rest adaptor when not having internet but with net I want use the ember parse adaptor. when you use the parse adaptor it changes how the default app works via: export default…
SuperUberDuper
  • 9,242
  • 9
  • 39
  • 72