Questions tagged [ember-cli-addons]

82 questions
0
votes
1 answer

Is it possible to include multiple JavaScript libraries in an Ember.js add-on shim?

If I want to create an add-on for Ember.js, let's call it ember-awesome for the purpose of this question, that is a wrapper around a library awesome-lib.js and its extensions. How do I create a shim around that library and any extensions I want to…
Sean Quinn
  • 2,131
  • 1
  • 18
  • 48
0
votes
1 answer

Error while running "ember test" inside ember addon - undefined is not an object (evaluating 'Ember.View.extend')

I am getting this error "undefined is not an object (evaluating 'Ember.View.extend')" when I run "ember test" inside my ember addon project.Used ember versions are as follows Ember CLI Version : 1.13.1 Ember Version : 2.6.0 Ember CLI Qunit :…
KuKa
  • 51
  • 6
0
votes
2 answers

ember.js addon: how to manipulate files?

We have 5+ ember.js projects. I've extracted all common features as an addon. Other projects depend my addon with package.json (as npm module). I want to do some post-processing after my addon upgraded on any project (via npm install). I need to do…
ykaragol
  • 6,139
  • 3
  • 29
  • 56
0
votes
1 answer

Is it possible to use Ember-cli-yadda with coffeescript

So the question is may I set yadda for ember tests to generate .coffee files instead of .js for steps? Js is ok, but I have ember-cli with coffeescript so it'll be easer for team use one language instead of two
0
votes
1 answer

#ember-power-select: changing the value in one power-select box , it alternately changes the same value for another power-select box

I used custom-search-action in #ember-power-select, changing the value in one power-select box , it alternately changes the value(sets the same value as selected in 1st select box)for another power-select box too. Below is the handlebar…
rinold simon
  • 2,782
  • 4
  • 20
  • 39
0
votes
1 answer

Promises in Ember CLI/Ember.js

I'm trying to write a ember-cli-deploy plugin and can really use some help with promises. In my index.js for the main plugin, I have the following code index.js: prepare: function(context) { ... ... var awsDeploymentOptions = {....}; …
MojoJojo
  • 3,897
  • 4
  • 28
  • 54
0
votes
2 answers

Ember PODS structure and Ember engine

Can using the Ember PODS structure cause any issues while integrating with the Ember engine ? What is the recommended structure; PODS or traditional structure ?
copenndthagen
  • 49,230
  • 102
  • 290
  • 442
0
votes
1 answer

Using ember-cli addon

I am trying to do a simple thing : use addons in the default project created with the command ember new myproject The initial project does compile: I can see the welcoming message on localhost:4200. Any addon I choose to add is installed the same…
RRPitre
  • 121
  • 1
  • 7
0
votes
1 answer

Ember Addon Component with attribute Integration fails ember-beta and canary scenarios

I'm looking for some help in troubleshooting some very basic ember addon component integration tests and am hoping someone may have an idea where to look to get this sorted out. The tests are included below: import { moduleForComponent, test } from…
0
votes
0 answers

Ember Force Route to Refresh Page

In my application I need to have certain sections of my app hard refresh on transition. I have gotten pretty close by creating another Location type I call passthrough and then separating out the routes into a separate file. The passthrough location…
BillPull
  • 6,853
  • 15
  • 60
  • 99
0
votes
0 answers

npm > 3 (3.3.2) still nesting modules?

when I try to use the node module ember-giftwrap, I get this error: Installing packages for tooling via npm...C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(312,5): error MSB3491: In die Datei " …
Weissvonnix
  • 731
  • 7
  • 23
0
votes
1 answer

ember-cli-selectize: Mutliselect with server side filtering

Could someone please provide an example how to achieve a server side filtered multiselect in Ember.js using ember-cli-selectize? I got the multiselect working but my selection dataset includes >3500 items, so my application is slowed down. In…
Lopo
  • 936
  • 2
  • 11
  • 18
0
votes
1 answer

Ember-cli gets white screen and wont load when I install liquid-fire

When I upload liquid-fire in my ember-cli project I get a white screen, here are the errors I get, I am running ember version 1.13.1, node.12.2, npm 2.12.1, liquid-fire 0.20.4, the second I uninstall liquid-fire it starts working perfectly fine, any…
Carlos Guevara
  • 53
  • 1
  • 1
  • 4
0
votes
1 answer

Ember-CLI - triggering livereload while developing an addon

I'm developing an ember-cli addon and I'd like to know if it's possible to set up live reload to trigger whenever I make a change in my addon. As of now, I have to restart my server every time I make a change to my addon.
JDillon522
  • 19,046
  • 15
  • 47
  • 81
0
votes
1 answer

How can I import sinon into an ember-cli test?

I'm trying to use sinon in my ember-cli app and I can't figure out how to import it. I have an import statement in the spec: import { sinon } from 'sinon'; and then I try to use sinon in a test: it('finds the todo model', function () { var store…
spinlock
  • 3,737
  • 4
  • 35
  • 46