Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [ember.js]

Ember.js is a component-service application framework written in JavaScript. Consider making your question easier to answer by using the preconfigured templates mentioned in this tag's wiki. (Always specify version of ember used when describing your issue)

ember.js
Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

packageRules definition for embroider to allow component from @glimmer/component to work in ember 5.8

Just upgraded from 5.4 to 5.8. Now I'm getting this error. \src\node_modules\.embroider\rewritten-app\routes\components\case-tools\template.hbs: Unsafe dynamic component: this.tool in node_modules\....
Display name's user avatar
  • 1,398
0 votes
1 answer
26 views

Why is tabindex=0 still used in HTML even when a feature flag is false in Ember.js?

I'm working on an Ember.js project where I've implemented a feature flagging system to control certain UI elements based on specific conditions. However, I've encountered a situation where even when ...
Sefali gupta's user avatar
0 votes
0 answers
13 views

The "path" argument must be of type string. Received type object in ember js

I updated the ember from 2.7 to 3.2 using command ember-cli-update and after this I run the project using npm start then i'm getting error on terminal type here ERROR Summary: - ...
Asif Raza's user avatar
0 votes
1 answer
32 views

In an Ember.js Octane Acceptance Test, how do I query and/or set the test window height?

I have an acceptance test to ensure that a PDF viewer on a specific route isn’t accidentally sized incorrectly. Due to a convergence of prior choices and the way the embed tag works, the viewer can ...
Display name's user avatar
  • 1,398
1 vote
1 answer
20 views

Ember.js octane acceptance test

I don't understand why fillIn can't find 'data-test-code-nav-selector'. I have paused the test and using the devtools I copied this DOM excerpt. It displays as expected. As you can see, the select tag ...
Display name's user avatar
  • 1,398
0 votes
0 answers
29 views

How to call a component from a controller file?

I'm new to ember js, It may feel like a dumb question, but still: I've already defined a component say {{pq-component}}, it works fine, when called from a .hbs file. But when I try to call it from a ....
S TARUN's user avatar
0 votes
2 answers
28 views

How to dynamically add click handler to Ember Octane component - dynamic "on" modifier

I have a situation where I need to make a component and it has some logic to either render as a button or as a DIV depending on if it has a link. {{#let (if this.hasLink (component "...
SoluableNonagon's user avatar
0 votes
0 answers
15 views

Gridstack does not adhere to dynamic drag handles

I'm currently using Gridstack in an Ember project and want to have a custom drag handle. I know this can be implemented by setting the draggable: { handle: '.my-custom-drag-handle' } in the options. ...
Vishaal Agartha's user avatar
1 vote
1 answer
30 views

CORS Ember.js C#/.net SessionId Header

I have an Ember.js SPA that's calling a .net service via AXIOS. Everything was working until I started checking the SessionId header to return a 401 when it's expired. As long as the token is valid, ...
Display name's user avatar
  • 1,398
0 votes
0 answers
14 views

How to a made query param for refreshed one table with filtered attributes

Context: I have a table of inputs and outputs for a person and with these values ​​I calculate the total hours worked and check whether the total time requirement has been met. Example: Monday = 8 ...
LucasCDev's user avatar
0 votes
0 answers
13 views

How can I resolve "Parsing error: Cannot use import statement outside a module" in Ember.js?

My project uses ember-cli: 3.28.6, node:12.13.1 I am getting at least 100 of this error, in files that don't even have import statements, in files that were automatically generated by ember-cli, etc. ...
rhoffen's user avatar
  • 21
0 votes
0 answers
23 views

Accessibility on ember outlet elements

I have an ember web application, with a simplified structure of landing page like this: <container> <header></header> <main> {{outlet}} </main> &...
Lilit Mazmanyan's user avatar
0 votes
1 answer
49 views

How to Resolve 'Uncaught TypeError: Cannot read property 'charAt' of undefined' Error in Vendor.js When Focusing First Error Field on Form Submission?

I'm currently grappling with an issue regarding the focusing of the first error field within a form upon submission. Despite successfully implementing functionality to focus on the first error field ...
Himanshu Javiya's user avatar
0 votes
2 answers
42 views

Injecting store brings "Cannot read properties of undefined" on ver5.7/5.3 with Typescript

I created services/store.js with default export, then I added "@service store;" in route. Right at that line the following error occurs: TypeError: Cannot read properties of undefined (...
rykantas's user avatar
1 vote
1 answer
33 views

Inherit session token between 2 apps as long as one of them has been signed in Ember.js

I have 3 web apps written in ember.js /appA, /appB and /AppC in the same domain and they connect to the same api with a token. I have this configuration: // under app/session-stores/application.js ...
Torprendido's user avatar
0 votes
0 answers
41 views

JWT authentication out-of-the-box solution for typed Ember?

Is there any quick and simple solution to provide JWT token authentication for Ember with Typescript enabled? Although this issue sounds like quite a routine, most modules and documentations refer to ~...
rykantas's user avatar
1 vote
1 answer
23 views

Ember.js 5.4 how to update component variable when session store is updated

Ember.js Octane and JavaScript (not TS) I have a service to access the session store. When I add or remove a specific key, I want my top level component to toggle visibility for the nav-bar. I have ...
Display name's user avatar
  • 1,398
0 votes
1 answer
27 views

Ember.js component button may have one of a fixed listed of values, how to make it use minimum width for longest string?

Single button, it may display the text "Show", or "Hide". Toggling between show and hide causes the width of the button to change. I want the button to take up as much width as it ...
Display name's user avatar
  • 1,398
0 votes
1 answer
63 views

How to use frontend app within virtual host proxypass?

I am using docker with three containers - backend/frontend/admin. I would like to use such proxy pass to navigate either to admin page or frontend - <VirtualHost *:80> ServerName cookie.com ...
Ramix's user avatar
  • 31
0 votes
0 answers
28 views

Ember Js app Cannot find module 'exists-sync'

I have an ember app on windows. it was working fine but next time when I open the app and tried to run the ember server it showns below error:- Cannot find module 'exists-sync' Require stack: C:\...
Sudheer Gupta's user avatar
0 votes
1 answer
57 views

Ember.js did-update function not tirggering

Ember 5.x I have a parent component, Cases, and two child components. The CaseList has many items and the user can select one. This works. And the onCaseSelect is called. I want to have the NavBar see ...
Display name's user avatar
  • 1,398
0 votes
0 answers
29 views

How to re render component when the argument changes from the table component in Ember.js?

Im a beginner in Ember.js framework, and Im having trouble updating a component from another one. I have this table component with the checkbox rows, and everytime the number of checked rows its ...
Emily's user avatar
  • 121
1 vote
1 answer
50 views

Uncaught Error: Could not find module `@ember/application` imported from `web-app/app`

Why am I encountering the error 'Uncaught Error: Could not find module @ember/application ' when trying to import it from 'web-app/app' in my Ember.js project? Specs: npm: 6.14.5 node: v14.4.0 ember-...
Arun Kumar's user avatar
0 votes
0 answers
18 views

How do i create a custom adapter method?

What I want is to make a specific request to my backend and get back a list of models but it is not exactly a findAll/query call as I require an id (the url would be in the format v1/personType/{id}) ...
LukasG's user avatar
  • 13
0 votes
2 answers
99 views

Node v20.10.0 is not tested against Ember CLI on your platform

I'm getting an error when I try to init a new ember project. I just installed ember using this command: npm install -g ember-cli then I ran: ember init to create my project, but it throws the ...
User Dll32's user avatar
1 vote
0 answers
49 views

Missing Resource Type: received resource data with a type 'events' but no schema could be found with that name

I have a basic Rails 7 application that uses the jsonapi-resources gem. On the Rails side of the application, I implemented a simple structure of two resources - events and event_categories. They are ...
Colibri's user avatar
  • 1,135
1 vote
0 answers
37 views

How to define an Observer in an Ember Octane model?

After being a long-term Ember 2.x user on a long-neglected project, I'm going through the process of updating it to a more modern version of Ember; in this case 4.12. I'm getting hung up on one of the ...
Argus9's user avatar
  • 1,905
1 vote
1 answer
52 views

unshiftObject method is not working in ember

I have the array of Objects and want to concat only the list property of all objects and create a new array. So I have a "combinedList" getter in the below code to combine the list if array ...
Web Dev's user avatar
  • 21
1 vote
1 answer
90 views

Ember 4.x (Octane) - replacement for Observers?

I am nearly done upgrading a very old Ember.js project from 2.13 all the way up to the latest LTS release, 4.12. Along the way I've been coming to grips with the changes that the Octane release ...
Argus9's user avatar
  • 1,905
0 votes
1 answer
38 views

ember js - service usage to show data

I am new to ember js and trying to write my first app... I have : service app/service/event_handler.js import Service from '@ember/service'; export default class EventHandlerService extends Service { ...
0sik's user avatar
  • 31
1 vote
1 answer
28 views

How to transfer an object to an component in ember.js

Ember.js is completely new to me. (Current version 5.4) I would like to build a small WebUI. The login and the menu navigation work great. But I have problems with the loop and visualizing information ...
Mugges's user avatar
  • 13
0 votes
1 answer
16 views

observe json object changes in emberjs template

How to observe json object changes in ember template, here's my test code, I expect to show jsonChange button after I click updateJson, but it didn't test.hbs <button {{on "click" this....
s.w's user avatar
  • 19
0 votes
1 answer
48 views

Hot to scroll to window-top on route load in Emberjs 5.4

In Ember 5.4, when a new route is loaded, and the last view was scrolled, the scroll position remains. I want it to scroll to top of the window instantly if the url/route changed. I made it work with ...
SittingElk's user avatar
0 votes
1 answer
70 views

Why does ember data store share tokens between 2 web apps my domain?

0 I have 2 differents applications in ember.js both connect to the same api: "host1:3000/appA" and "host2:3001/appB". I use nginx so that the client can access appA and appB ...
Torprendido's user avatar
0 votes
1 answer
19 views

how to get the previous routename in ember 2.16 to used in back button

i have a analytic route in ember this can be accessed from two routes (example user page and profile page) the below code is used to redirect to the analytic route {{#link-to 'settings.analytic'}}{{...
hariharan baskaran's user avatar
0 votes
1 answer
86 views

Ember-cli not using global version

This might actually more npm/node than just an EmberJS question. Simply speaking I ran npm install -g ember-cli. However, when I check the version using ember --version, it shows me ember-cli: 3.10.1 ...
Darshan's user avatar
  • 991
0 votes
1 answer
35 views

Ember Buffer Keyword

The following Ember code returns "<" symbol. {{{get buffer.buffer.[0]}}} Can someone explain me how it returns "<" symbol and is there any documents or cheat codes to ...
Sanjay Kumar's user avatar
0 votes
1 answer
43 views

Why embe.rjs does not see my controller method in template?

In the project, I have template input: {{#if (communicationPreferenceIs 'Phone')}} <div class="row"> <div class="col-md-4 form-label"> ...
Sam Fisher's user avatar
0 votes
1 answer
53 views

How to create Ember Service that fetches data from Apollo GraphQL Server

I successfully fetched data from Apollo GraphQL Server in Amber route using ember-apollo-client. I tried the same approach to have a service fetching data but I'm getting Uncaught TypeError: this....
Raniere Silva's user avatar
0 votes
1 answer
164 views

Uncaught Error: Could not find module `moment` imported from `ui/routes/application`

I'm trying to upgrade moment from 2.18.0 to 2.29.4 along with ember. I have upgraded ember to 4.12.2 but when I run the application, I'm getting Uncaught Error: Could not find module moment imported ...
deva's user avatar
  • 15
0 votes
0 answers
18 views

Unable to close module dropdown of parent application on clicking anywhere in child application UI screen rendered in Ifaram

I am facing problem to close module dropdown on clicking anywhere in child application UI screen. I am not be able to handle click Outside functionality for dropdown elements defined in Parent ...
lakhan kabra's user avatar
0 votes
0 answers
54 views

Assertion Failed: targetValue must be greater than or equal to 0

When I use ember-table, it works well in application.hbs, but if the same code used as component, I got targetValue Assertion Fail, is there anyway to use EmberTable in component? application.hbs <...
s.w's user avatar
  • 19
0 votes
1 answer
53 views

Ember Fastboot monitor debug tool

I have a Fastboot application running on Docker and lately containers have been consuming a lot of CPU and RAM on the server. Is it possible to monitor what is causing this in Fastboot? Any plugins or ...
Charles's user avatar
1 vote
1 answer
55 views

Hot reload in Ember?

Is there a way to enable hot reload (changing the page content without reloading the whole app) in Ember 4.2? I tried plugins such as ember-ast-hot-load but I can't get them to work.
Samuele Cavalleri's user avatar
1 vote
1 answer
38 views

Is there a way to call an Ember Octane component method with parameters and have it return the text without implementing a helper?

On Ember Octane versions, how would I call a method in the component.js so that it simply returns the string value into the hbs template (without creating a helper)? For example, I want for each item ...
djmistral's user avatar
0 votes
1 answer
181 views

Ember application runtime error uncaught referenceerror ember is not defined vendor.js

I'm trying to upgrade the ember from 3.* to 4.12.2. I'm not getting any compilation issues but when I run my application I'm getting "uncaught referenceerror ember is not defined" inside the ...
deva's user avatar
  • 15
2 votes
0 answers
37 views

How to add draggable elements into fullcalendar event

I customized eventContent and added draggable elements inside of event. But the dragstart and dragstop event of the draggable elements are not emitting. It seems like the fullcalendar prevent other ...
KingStar1001's user avatar
0 votes
0 answers
53 views

Adapter leads code to http://localhost:8088/users but the Tomcat server says ( http://localhost:8088/users ) not available

I have some doubts that I am having application adapter, serializer, model, for storing/retrieving the user details. using Emberjs Java servlet with org.json ajax ember-data/store adapter serializer......
Umamageswari78's user avatar
0 votes
1 answer
51 views

Accessing Ember.js services from browser extension in versions ≥4.0

In Ember 4.0 and up, access to the Ember global object is deprecated. We have a browser plugin for internal debugging/support purposes that would gather some variables from an ember service using this ...
Fdebijl's user avatar
  • 992
0 votes
0 answers
29 views

TypeError : cannot read properties of (undefined 'method') - ember

I got TypeError: cannot read properties of (undefined ‘method’) at r.init (/a/b/cd/de/assets/vendor-sdfsd234234.js:9594:35 When I looked into the 9594 line on character 35 on the vendor file, here is ...
ale tessema's user avatar

1
2 3 4 5
480