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
2 answers

Ember : Two route for one template

I'm new with Ember and i try to make a simple CRUD. I want a single template for adding and editing of an object. This is my code : this.route('foos', {path: '/foos_path'}, function() { this.route('edit',{path: '/edit/:foo_id'}); …
Scandinave
  • 1,388
  • 1
  • 17
  • 41
1
vote
0 answers

Ember.JS loading sub-state issue

I am using Ember-cli and would like to show loading spinner when model is loading. I create a application loading template and it works fine, but only when ember debugger is opened. Here is Video with this bug. Did have anyone this problem…
kolybasov
  • 76
  • 4
1
vote
0 answers

Remove unnecessary URL parts/parameters

I've got a blog with article-urls like this http://ali.dj/blog/unlimited-fps-in-unity-editor My old blog had URLs like this: http://ali.dj/blog/unlimited-fps-in-unity-editor/comment-page1 etc. When the article is valid but everything following it is…
Hedge
  • 16,142
  • 42
  • 141
  • 246
1
vote
1 answer

Ember-CLI tests can't include modules from 'app' directory

I am trying to include a module in my app from one of the tests. Is it even possible to do that? I am only able to include a module in the 'tests' directory. I keep getting the infamous "Could not find module"…
PeterParameter
  • 524
  • 5
  • 16
1
vote
1 answer

Ember custom view exception: had no action handler for: searchEvent

I have my custom view : export default Ember.ContainerView.extend({ classNames: ['search-terms'], eventTypeValue: null, userSidValue: null, init: function() { this._super(); this.eventTypeValue =…
Yurii Buhryn
  • 803
  • 3
  • 9
  • 27
1
vote
2 answers

Weird error with Ember controllers

I'm on Ember Cli version: 0.2.3 I'm currently exploring with Ember, and trying a very simple app. I have this in my templates/about.hbs

About

I'll write something interesting here

1
vote
0 answers

How to convert config/environment.js to CoffeeScript?

Using ember-cli version 0.2.3, I converted config/environment.js to config/environment.coffee. The app is named frontend. In the dist/frontend.js file, I see the following differences - note that instead of frontend, the prefix is undefined. How to…
Zabba
  • 64,285
  • 47
  • 179
  • 207
1
vote
2 answers

ember cli simple auth devise last version 0.8.0-beta.1

I am trying to set up ember cli simple auth devise in my app, actually I found many examples and similar issues but still not able to solve a problem that I am fighting many hours, it is the last version of the addon 0.8.0-beta.1, the authentication…
Moh
  • 249
  • 3
  • 15
1
vote
2 answers

Install jQuery plugins in ember-cli

I need to install this timePicker in ember-cli. I have added library in vendor folder and imports in Brocfile.js: var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var app = new…
Angel VB
  • 54
  • 7
1
vote
0 answers

Ember Data Adapter Inconsistent Model Update on PUT Response

This will take a bit of explanation. Let's say I have a simple model... // models/mymodel.js import DS from 'ember-data'; export default DS.Model.extend({ myString: DS.attr('string'), myBool: DS.attr('boolean') }); ...and a simple route... //…
sammy34
  • 5,312
  • 5
  • 29
  • 42
1
vote
1 answer

Ember select view not understanding an Array

I have this weird error on ember running on windows. I'm copying this code for a select inputs.hbs:

All inputs

{{input type="radio" name="type"…
SuperUberDuper
  • 9,242
  • 9
  • 39
  • 72
1
vote
2 answers

How to import non amd library ember-cli

I am using Ember-CLI and now I faced the problem of importing AmplifyJS in my project. I downloaded Amplify using Bower however the library is not in an ES6 format. Therefore, when I try to use it in my project, I simply can't import it. Basically…
Etienne Noël
  • 5,988
  • 6
  • 48
  • 75
1
vote
1 answer

Ember extractArray payload not usable in application

I'm trying to modify my JSON payload in the REST serializer so I can use it in my Ember application as I want. This is how the real JSON from the server looks like: { "folders": [ { "file_ids": [ 2001, 2002, …
1
vote
2 answers

How can I serialize hasMany relations with ember-data > beta15?

Until ember-beta 14, everything was going fine. I have goal and account models. goal hasMany('account'), but account does not have or belongs to goals (not on ember, there are no reason on my app. With a custom serializer, I had all working…
1
vote
2 answers

Naming Mixins with Ember-CLI

I have an ember addon which uses several Mixins to provide its functionality. Unfortunately when I look at this object in the Ember Inspector I get a boat load of "unknown mixin" buckets where my state is scattered across: I'm ok with there being a…
ken
  • 8,763
  • 11
  • 72
  • 133