Questions tagged [ember-cli]

Node.js module which provides a command line interface (CLI) for developing Ember.js applications

0
votes
1answer
23 views

Updating Ember.js environment variables do not take effect using in-repo addon config() method on ember serve

My goal here is to create an auto-increment build number that updates both on ember build and ember serve. In the end, if I can only use this on build, that's totally ok. I originally asked this ...
0
votes
1answer
15 views

Visual Studio Code terminal freezes when asking to overwrite file for Ember.js

VS Code just installed update 1.34.0 I have created a new project in Ember. When I attempt to create a new route ember g route application, I am asked if I want to overwrite app\templates\application....
1
vote
1answer
47 views

How do I install bootstrap 4 template to Ember web project?

This is a continuation of another post I have posted: click here I have downloaded the INSPINIA admin theme, which is based off twitter bootstrap. It contains pre-created projects for most web-ui ...
0
votes
1answer
26 views

Ember deploy script failing on specific npm package

I'm trying to deploy to my staging environment using ember deploy and continue to get this error which breaks the build An error occurred in the constructor for ember-cli-htmlbars-inline-precompile ...
1
vote
1answer
35 views

Ember : What is the meaning of re-render in ember js?

I'm using ember.js(version 3.7) and I bite confused now. Now, I'm working on optimizing the code part for our app. First I'll try to find What are the things are re-render in components? After getting ...
0
votes
0answers
25 views

Why is app folder needed inside an in-repo engine?

In ember-engines, if we generate a route/component/{other-ember-concepts} using ember-cli, entry for the generated will be done in addon folder and app folder under lib/{engine} folder. Why is the ...
1
vote
1answer
33 views

How to add INSPINIA bootstrap to Ember application

New user to 3rd party bootstrap templates for Ember and need help. I purchased the INSPINIA admin template from www.wrapbootstrap.com. The download comes with multiple pre-created projects with ...
1
vote
1answer
75 views

Using process.env vars in Ember

This may be a dumb question, but how to get access to process.env vars inside of my ember app? I tried to access process.env in one of my controllers, but I received an error that process was not ...
2
votes
0answers
33 views

Why isn't Corber building an apk for my Ember project?

I want to turn an existing Ember project into a mobile app, so I decided to learn Corber, which links Ember and Cordova to (theoretically) make the webapp -> mobile transition easy. However the steps ...
0
votes
1answer
48 views

getting error while setting a global variable during recurssion in ember.js

so i have implemented a timer in my ember code, which works fine, but while running test it fails i get this error saying Uncaught Error: Assertion Failed: calling set on destroyed object: <front@...
0
votes
0answers
46 views

unable to get included(has_many) part in ember-cli-mirage

So in my code i am trying to fetch a author and its related books this is my server response data:{ attributes:{name: "joseph"} type:"Author" id:"1" relationships: {books: {data: [{id: "1", type: "...
0
votes
0answers
23 views

Can I use Deno with Ember-Cli?

I recently found Deno and I am very interested in using it with my Ember-CLI projects. I know Deno is still very unstable, but I would like to know if at this point it would be advisable to attempt to ...
0
votes
2answers
57 views

Ember 3 computed property getter setter

With Ember v3.x, did something change with respect to setting a value for computed property ? In my class, I have a CP named "cp1" Earlier with Ember 2.x, I used to do this.cp1 = cp1 But with Ember ...
1
vote
1answer
39 views

Ember prepends application name in the script tag in production environment

I am trying to build my application in production environment, which seems fine. But as soon as I access the application, I get the following errors in the console: Error parsing 'integrity' ...
2
votes
1answer
25 views

Ember: camelCase helper references not recognised

I upgraded Ember CLI from 2.4.6 to 2.8.0. After this, the helpers referred by camelCase names in the template are throwing the error Assertion Failed: A helper named "helperName" could not be found. ...
0
votes
1answer
56 views

Ember.js - add record request has blank parameters

I am using ember-cli with a Rails API backend and am having some issues adding a new record. I've set up the form and route and am able to retrieve the values from the form, but the save() does not ...
1
vote
1answer
44 views

How to get rid of SourceMapConcat build error in emberjs?

I am always getting below error when I try to run ember server --proxy http://localhost:16000/ command. How do I solve this error? I have tried deleting tmp,build,bower_components & node_modules ...
0
votes
0answers
39 views

Ancient non CLI ember project

I have a very outdated ember project and I have updated my codebase to use the latest version of jQuery 3.4.0. The problem is, there is deprecated jQuery code in the ember app and it's causing errors. ...
1
vote
1answer
37 views

Correcting Invalid Route Naming

I'm currently working on a CRUD application - so far I've created an index route, a show route and create route and have moved on to creating an update method. I've gone ahead and added a route, ...
0
votes
0answers
34 views

Is there a way to determine which component attribute updated?

Is there a way to determine which specific component attributes updated, without the component having to manually compare each attribute to its old value? (i.e.) I don't want my component to ...
0
votes
1answer
38 views

I am attempting to upgrade from ember 1.7 to 1.13

I am trying to upgrade from an ancient version of ember 1.7 to the still ancient 1.13 and I am getting .js errors. I am not well versed with ember, to begin with, so all the help I can get will be ...
1
vote
2answers
42 views

EmberJs deprecate component lifecycle hook didReceiveAttrs

For the Ember version 2.16, they have removed the arguments passed to the didReceiveAttrs component lifecycle hooks. Previously I was getting arguments in the form of an object. newAttrs: ...
0
votes
1answer
30 views

Using Moment.js in Ember Controller inside a computed function using data-table columns

Thanks in advanced for the help. I was wondering if it is possible to apply a Date format of MM-DD-YYYY to the valuePath of a Data-Table Column array within a controller for an Ember route. My ...
0
votes
1answer
44 views

how to call an element in another layer hbs

There are two hbs files, one is under another layer, for example: testA.hbs contains, <div> {{/testB.hbs}} </div> <div id="area"> Hello, world </div> At testB.js, I ...
0
votes
1answer
37 views

Reinstall node using nvm on OS X without removing node_modules?

Following the latest advice I decided to remove a previous working Homebrew node install and use nvm to install node instead, and also set things up to avoid using sudo. However, before going further ...
0
votes
0answers
29 views

Is there any library which support emberjs-1.6 for integrate Firebase

I am trying to use Firebase services for my existing emberjs-1.6 application. For that is there any library exist or Is there any alternative method to use the javascript library for this integration? ...
0
votes
3answers
52 views

How to use imported third-party js (not addon/npm package) in controller/component?

I have put my js files eva.min.js/feather.min.js and so on in vendor dir, then I imported them in ember-cli-build.js app.import('vendor/eva.min.js'). But how to use it? I tried something like import ...
1
vote
1answer
38 views

Dynamically added assets prefix in the image URL - Ember-CLI

I am trying to load the app by using ember serve. Some of the images are not found error getting. In CSS : background-image: url(assets/images/image.svg); its redirected to http://localhost:...
1
vote
1answer
24 views

dynamic looping on a controller property

I am using ember 2.17. I added this property to a controller: export default Controller.extend({ newAttachments: new Array() ... }) I add elements in it through this controller action: ...
0
votes
0answers
44 views

How to iterate a JSON payload in ember-infinity?

I'm getting the data using API request from http://example.com/people.json. The response data will be like following code. { people: [ { name: 'Andrew Thomson', age: 32 }, { ...
0
votes
2answers
36 views

How to display API response in Ember template?

I'm using Ember to retrieve a specific record from a REST API and display it on a template. I can console log the payload from my serializer and it displays the object correctly, but my template can't ...
0
votes
1answer
27 views

Ember invoking closure action

In Ember JS, say I have a component defined as below (HBS/JS) parent.hbs {{longclaw-sword attack=(action swing)}} app/components/longclaw-sword.js export default Ember.Component.extend({ click() ...
0
votes
0answers
16 views

Ember-engines as peerDependency

I am a bit confused with the peerDependency concept from an Ember engines perspective. What does “peerDependency” signify when using Ember engines ? Should only the parent/host app provide the ...
3
votes
3answers
61 views

Integrate SASS/SCSS on Ember Project with POD structure

I just want to ask what is the best approach to integrate sass/scss on ember project? Currently my project is in pod structure and I just import style.scss on main app.scss under styles folder. Is ...
0
votes
2answers
38 views

can multiSelect be Possible with ember=power-select?

I have tried everything with ember-power-select addon. But I'm not able to implement multi-select with ember-power-select. I need to select multiple options for a single group. Is it Possible?
0
votes
0answers
41 views

Extending window in ember.js

How can I inject something that would be accessible in window.something before dependencies would be loaded? I tried to do it in .ember-cli-build, but I don't know how to get access here to window I ...
1
vote
1answer
31 views

Models in ember-fastboot loaded twice

An ember-cli app loads a random model on a certain page. This works as expected. Now that I enabled ember-fastboot server-side rendering, the model is loaded client-side. Upon rehydration, ember.js ...
1
vote
0answers
69 views

Ember.js record.save() is successful, but object has state inflight

I am using a fairly new version of Ember (Ember 3.7.2, Ember Data: 3.7.0) I create a record in the client (using store.createRecord()) and I give it a GUID as the ID. The record must have an ID in ...
1
vote
0answers
42 views

How to mount routable ember engine to my consuming app?

I try to mount an engine to my project as per the demo: consuming app: https://github.com/dgeb/ember-engines-demo engine app: https://github.com/dgeb/ember-blog-engine the demo works well. But ...
0
votes
1answer
22 views

Ember build adds read permission to some files but not others

In my Ember.js project, I have the following files: public/img/pixels.png 0640 public/img/vector.svg 0640 I'm deploying this inside a Docker nginx container. COPY'd files automatically belong to ...
0
votes
1answer
63 views

ember/avoid-leaking-state-in-ember-objects error for sorting property

import Controller from "@ember/controller"; import { computed } from "@ember/object"; export default Controller.extend({ filter: "", filterTodos: computed("arrangedContent", "filter", function() {...
-1
votes
2answers
95 views

Ember.js and image uploading

I'm having trouble with uploading images in Ember.js I have a form to create a user : <div class="container"> <form onsubmit={{action "createUser"}} enctype="multipart/form-data"> <...
0
votes
1answer
34 views

EmberJs outlet inside multiple nested route

I do not strictly understand outlets and rendering templates in EmberJS. Until now I have been doing mostly CRUD operations or my routes weren't nested as many times as here so I haven't faced this ...
0
votes
2answers
39 views

Docker + EmberCLI + Windows = Not working

System overview I am developing applications in Ember and I am not able to update the CLI to the most current version due to older applications are still in development (version 2.15). But I want to ...
0
votes
1answer
30 views

Export ember project dependency licenses

I have a requirement for being able to export a list of dependency open source licenses of my Ember project's non-development dependencies. We have some Node apps and I've been able to use license-...
0
votes
2answers
57 views

How to ensure Ember is saving variable state on reload

I'm creating and saving a form using Ember but when I reload the page the toggle keeping track of whether the form has been submitted or not resets to false. I have a page where the default text is '...
0
votes
2answers
42 views

How to Handle 503 Response from Server in Ember Application?

How to handle 503 response from the server in my ember application? How to debug as a UI Developer? How UI Developer can Handle these kinds of response.
-1
votes
3answers
69 views

Can i access ember service variables in my whole application?

I Created an ember service and i initialized its value now i updated that value in a controller. I want this updated variable in my complete application ? What should i supposed to do. Any help will ...
1
vote
1answer
47 views

set alias for `model` hook

HELP If there is a model hook in app/routes/post.js say model() { return this.store.query('post'); } in template the returned promised is accessed using {{#each model as |post|}} ... {{/each}}...
0
votes
1answer
47 views

Ember Module Unification Stack trace: Error: Assertion Failed: 'data-adapter' is not a recognized type

Ember data won't show on the inspector.The error is showing below. I am using module unification in new ember. module unification ember Can someone tell me how to fix it because I need to see data ...

http://mssss.yulina-kosm.ru