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

Is there any difference between ember serve and ember server

In the ember-cli documentation ember server command is used to start the app. But we could do the same with ember serve command. I assume server is just wrapper of serve. Can anyone clarify more on this?
Vinoth Kumar
  • 1,347
  • 1
  • 14
  • 23
8
votes
1 answer

Ember CLI / browser refresh / production / 404

I developed my webapp using Ember CLI 0.1.15, with emberjs. 1.8.1 I built the app with this command: ember build --environment production , and then I made a WAR out of the files produced under the dist folder of my project, and then I drop the WAR…
Cokorda Raka
  • 4,375
  • 6
  • 36
  • 54
8
votes
4 answers

How can I pass an array property to an Ember component?

My Ember component looks like this: import Ember from 'ember'; export default Ember.Component.extend({ users: undefined, primaryAction: 'follow', leftSubDetails: [], rightSubDetails: [], onInitialization: function(){ …
Ahmed Abbas
  • 952
  • 11
  • 25
8
votes
1 answer

Ember-cli ember serve AssertionError (false == true)

I'm trying to follow the "Getting Started" section at ember-cli.com, but I'm getting an error when attempting to "ember serve": version: 0.1.6 Could not find watchman, falling back to NodeWatcher for file system events Livereload server on port…
Tiago Fael Matos
  • 2,077
  • 4
  • 20
  • 34
8
votes
1 answer

Importing an es6 module that may not exist

Just say I create an addon that is shared with other users and I need to import ember-data. import DS from 'ember-data'; How can I import this given it might not exist in the client code. Basically I need a condition to check if ember-data is…
jax
  • 37,735
  • 57
  • 182
  • 278
8
votes
3 answers

Ember CLI Server Over HTTPS

Is it possible to enable HTTPS protocol on Ember's CLI server? Our corporate OAuth system only allows redirects over HTTPS, so I'm in a bit of a bind without this.
ProfCrazynuts
  • 96
  • 1
  • 3
8
votes
1 answer

Organizing Ember.js models inside sub-folders?

I have multiple models representing user data (profile, settings etc). These at the moment are stored in the models folder like so; models -> user.js -> profile.js -> settings.js What I would like to so is have a folder structure like…
JonathanBristow
  • 1,066
  • 2
  • 13
  • 36
8
votes
1 answer

ember-cli adding dependencies with bower

So - I want to have a play with typeahead in an ember app. I get a cli app up and running then I run bower install typeahead.js I can see that the code has been put into bower_components. I then add the following to the brocfile: /* global…
user156888
8
votes
3 answers

How to run emberJS application in IIS?

I have an EmberJS application that is built using Ember CLI. To deploy my application I used the ember build --release command with Ember CLI, and copied the output from the /dist folder into the folder that is mapped with IIS. Everything seems to…
Karoline Brynildsen
  • 3,598
  • 6
  • 35
  • 45
8
votes
3 answers

Deploy ember-cli + rails app in heroku?

Has anyone deployed an ember-cli + rails app in Heroku like this one? https://github.com/bostonember/website If yes, how did/do you deploy? I know that ember-cli produces all the necessary code in the dist/ dir, which should be placed (copied) under…
vasilakisfil
  • 2,279
  • 4
  • 24
  • 31
8
votes
2 answers

How to configure Ember CLI to use uncss

I have a hard time to configure Ember CLI to use uncss. The setup: > ember new foobar > cd foobar > bower install --save-dev bootstrap > ember generate route index app/templates/index.hbs

Hello World!

Brocfile.js /* global require, module…
wintermeyer
  • 8,178
  • 8
  • 39
  • 85
8
votes
5 answers

Recommended way to use Bootstrap's LESS source in Ember.JS ember-cli app

From this answer, it looks like linking to Bootstrap's dist files is easy. However, I'm using LESS in my project and want to take advantage of Bootstrap's LESS files. What's the recommended way to link this all up? Also, since using LESS is…
Joe
  • 16,328
  • 12
  • 61
  • 75
8
votes
1 answer

How to access Ember Model from the Route in Ember CLI

Perhaps doing this with regular Ember application having all the code sitting in app.js would have been much easier for me. But since I'm using Ember CLI I'm having trouble accessing my model in my Route. I'm still trying to learn how to use Ember…
Vinay
  • 318
  • 2
  • 4
  • 17
7
votes
1 answer

Ember Octane Upgrade How to pass values from component to controller

Upgrade from Ember <3.15 to >=3.15. How do I pass form values from a controller into a component? I cannot begin to explain the number of diagnostic combinations attempted and their corresponding errors received. So, I figure it best to ask how it…
J Weezy
  • 3,507
  • 3
  • 32
  • 88
7
votes
2 answers

ember cli could not find watchman on ubuntu, there is only solution for mac not for ubuntu

ember -v version: 2.3.0 Could not start watchman; falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. node: 5.0.0 os: linux x64 http://www.ember-cli.com/user-guide/#watchman there…
Ayon Saha
  • 477
  • 5
  • 8