Questions tagged [ember-cli-addons]

82 questions
1
vote
1 answer

Trouble implementing ember-cli-mixpanel

I'm a backend dev trying to wrap my head around the brave new world of javascript MVC frontends. I'm building a simple Ember-cli application (v1.12 for the moment) and I'm trying to integrate mixpanel via the ember-cli-mixpanel addon (v0.0.3). I've…
sb-
  • 45
  • 1
  • 9
1
vote
1 answer

Ember cli - use sass addon in less project

I use broccoli-less in my ember cli project and would like to use an addon (ember-cli-materialize), which uses broccoli-sass. After installing the addon, i get: File to read not found or unreadable ../app.scss, because i also have an app.less file…
user3740962
  • 153
  • 2
  • 7
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

Using Ember CLI Addon Models in Ember Application?

I want to allow something like the following to work in my application: store.find('my-addon.my-addon-model', 1) store.find('my-addon/my-addon-model', 1) store.find('my-addon:my-addon-model', 1) (unlikely) The thing is I want it to search for a…
jmurphyau
  • 2,309
  • 13
  • 11
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
0
votes
0 answers

moment-timezone returns undefined while using embroider compat build in ember.js

Original Error cannot read properties of undefined (reading 'load') error TypeError: Cannot read properties of undefined (reading 'load') created moment-timezone.d.ts file and type added for moment-timezone but not works
0
votes
1 answer

Ember addon: Could not find module from within component

In a new ember 3.28 addon project: npm install chart.js --save ember g component-class chart Insert into application.hbs on dummy app and in addons/component/chart.js, add this import Chart from 'chart.js/auto'; Running app…
user1814277
  • 304
  • 2
  • 9
0
votes
1 answer

can't import the test helper addon in ember-cli-mirage

Facing the same issue - https://github.com/miragejs/ember-cli-mirage/issues/1445 Uncaught Error: Could not find module project-name/tests/helpers/push-mirage-into-store imported from project-name/mirage/factories/addon Initially got this error and…
tamilmani
  • 591
  • 6
  • 13
0
votes
0 answers

undefined UUID when import ember-cli-uuid

I have added ember-cli-uuid (0.4.1)in my package.json. here is a how my dependencies look like. "devDependencies": { "autoprefixer": "^6.5.0", "broccoli-asset-rev": "^2.4.5", "chai": "3.5.0", "chai-jquery": "^2.0.0", …
user5471528
  • 217
  • 2
  • 9
0
votes
1 answer

Is it possible to build in-repo addon structure that optionally extends a base addon but the app remains unaware of that?

I'm trying to make a base in-repo addon that provides functionality through namespace like platform/services/whatever. In addition to that I want if another addon isEnabled() that extends or reopens that same service (in some way) I want it to all…
Joshua F. Rountree
  • 1,462
  • 2
  • 14
  • 30
0
votes
1 answer

How can I access currently processed Broccoli trees from an addon's index.js file?

I am working on a new in-repo addon, and I want to copy a file from the public tree to my own addon's namespace. I've specified that my addon should run after broccoli-asset-rev, because the file I want is the assetMap.json file generated by this…
Sam Selikoff
  • 12,366
  • 13
  • 58
  • 104
0
votes
1 answer

How to serialize ember paginated data

I am getting following json from my rest API: { "content": [{ "id": 56789, "name": "sample book", "status": "available" },{ "id": 56789, "name": "sample book", "status": "available" }], "last": true, …
VelNaga
  • 3,593
  • 6
  • 48
  • 82
0
votes
1 answer

Implementing a custom theme with ember-cli-jstree?

I'm trying to make my own theme for jstree by way of ember-cli-jstree. I thought I would start by using the proton theme. I copied the proton directory from this link into my public directory in my app and added the name of the theme to my jsconfig…
BarFooBar
  • 1,086
  • 2
  • 13
  • 32
0
votes
1 answer

Why doesn't ember cli generate app bridge for hbs file when generating component from addon?

When I run ember g component foo-bar in an Ember Addon project (let's say addon-project), it generates following: // addon-project/addon/components/foo-bar.js import Ember from 'ember'; import layout from '../templates/components/foo-bar'; export…
Sang Park
  • 382
  • 2
  • 17
0
votes
1 answer

Ember Could not find module ember-metal/streams/utils

Created new app with ember new app-name Output from ember version --verbose: ember-cli: 2.5.0 http_parser: 2.7.0 node: 6.2.1 v8: 5.0.71.52 uv: 1.9.1 zlib: 1.2.8 ares: 1.10.1-DEV icu: 57.1 modules: 48 openssl: 1.0.2h os: linux x64 After…
Pradeep Jaiswar
  • 1,785
  • 7
  • 27
  • 48