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
1 answer

Does Ember's reopen() function work on compiled ES6 modules in Ember-CLI?

I'm working on porting an Ember.js app over to ember-cli. My app is an augmented boardgame and, in it, I have an ember-states StateMachine subclass that manages actions that involve passing the game back and forth between two players. In that…
Greg Borenstein
  • 1,536
  • 2
  • 13
  • 18
1
vote
1 answer

Ember Data: resolve ambiguous inverses when using multiple belongsTo relationships between two models

Say I have two Ember Data models: competition and participant My competition model stores the following data: date, first, second and third. The first, second and third properties will all store IDs of the unique competitors who came in first,…
StickByAtlas
  • 357
  • 2
  • 14
1
vote
0 answers

Pretender and QUnit: Error: Assertion Failed: The response from a findQuery must be an Array, not undefined

A recent update seems to have broken my tests. I'm using Pretender to mock server calls, and I'm getting the error Error: Assertion Failed: The response from a findQuery must be an Array, not undefined. Note that I don't get errors when I visit that…
NJP
  • 815
  • 1
  • 7
  • 20
1
vote
3 answers

Missing template processor after updating ember-cli addon

I'm getting the following error from terminal when updating a private ember-cli addon: ➜ fly-blankslate git:(chore-ember-110) ember server --port=4300 version: 0.2.0-beta.1 Missing template processor Error: Missing template processor at…
alvincrespo
  • 9,224
  • 13
  • 46
  • 60
1
vote
2 answers

ember-dev-fixtures ERROR: "Assertion Failed: The response from a findAll must be an Array, not undefined"

I am using the ember addon called ember-dev-fixtures, and it throws an error when I try and fetch the array saying that it is not one. The way the blueprint is configured is like so: fixtures/model-name.js export default [ /*{ id: 1, // all…
Dana
  • 51
  • 1
  • 5
1
vote
2 answers

Change public assets folder path in Ember-CLI

I would like to deploy an app to Parse.com Hosting which uses the public folder to serve a website, and therefore I would like to make my dist folder the public folder, and rename the public folder. However, Ember-CLI requires putting assets in…
blisstdev
  • 633
  • 4
  • 13
1
vote
1 answer

Converting Ember.js example to Ember-Cli

On the ember.js main page (http://www.emberjs.com) about half-way down the page there is a nifty master/detail routing example for a sample mail application. In true ember documentation style, it is woefully inadequate about how to actually create…
1
vote
0 answers

Ember cli 0.1.15 Path or pattern "ember-data.js.map" did not match any files

I just upgrade my ember cli project and now get this error when running ember server. Path or pattern "ember-data.js.map" did not match any files I noticed a post here but doesn't help my case https://github.com/emberjs/data/issues/2557 package { …
SuperUberDuper
  • 9,242
  • 9
  • 39
  • 72
1
vote
2 answers

How to debug a node module part of a build?

In many of my applications I use the NPM package.json to manage my build tools. I've found that one of the modules probably has a bug. I'd like to debug it but I don't know how to debug the application in the context of the build task. Specifically,…
EasyCo
  • 2,036
  • 20
  • 39
1
vote
1 answer

Shell build script with ember

I am attempting to write a build script to be used with Facebook watchman and my ember-cli application. My build script is: #!/bin/sh cd .. ember build cd .. cp ./ember-app/dist/index.html ./slim-app/app/templates/app.php cp -r…
pattmorter
  • 991
  • 9
  • 21
1
vote
2 answers

Why do I need to prefix all properties in my templates with model.?

To access a model property in a template I was simply doing: {{name}} As explained in the guide I have now moved to ember-cli@0.1.12, with ember@canary (1.12.0-beta.1+canary.50206d0f), jquery@2.1.3, handlebars@2.0.0, and somehow I find myself…
blueFast
  • 41,341
  • 63
  • 198
  • 344
1
vote
2 answers

Editing Handlebars templates with ember and ember-cli

Hey so my problem is probably simple as I am brand new to ember and ember-cli, from what I understand you simply edit an applications HBS template containing the html, IE. app/templates/settings.hbs however my problem is that when I edit one of…
Vince Kuro
  • 11
  • 1
1
vote
0 answers

Using QUnit and sinon.spy, how can I access my spy within an async callback?

I am new to QUnit and sinon.js and working to build tests for an ember-cli package. I am having problems getting sinon.spy(Ember.run, 'later') to work with the code below. inside the callback Ember.run.later is not being spied / has no .getCalls()…
erichonkanen
  • 199
  • 1
  • 7
1
vote
1 answer

How do I add Projects parent to Ember-CLI TodoMVC?

I am working on a todo type project using Ember-CLI. I used as a starting point the nifty todoMVC project, but built with Ember-CLI using this guide: http://blaketv.com/2014/10/03/ember-cli-todo-mvc-tutorial-0-0-47// My question is, how would I go…
1
vote
1 answer

How to filter down dropdown results based on selection from another dropdown?

I would like to filter items by state and/or county. I am able to accomplish this, but what I would like to add is the functionality of only displaying de counties that are in relation with the chose state, if no state is chosen then show all…
FutoRicky
  • 903
  • 2
  • 9
  • 22
1 2 3
99
100