Questions tagged [ember-cli]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 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
0 votes
1 answer
19 views

How to set a a unique id to the elements of a DOM in ember.js

To add more context, I would like to incorporate Product Fruits to our ember app. The service that we will use is the Tours of Product Fruits. When creating a tour, product fruits target the element ...
Mikelemuel's user avatar
1 vote
1 answer
66 views

How to install ember-cli 4.12.1

When I use npm to install ember-cli 4.12.1 by below command #npm install -g ember-cli@4.12.1 The install is successful, but I see ember-cli version is 3.27.0 #ember --version Browserslist: caniuse-...
s.w's user avatar
  • 17
0 votes
0 answers
32 views

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-...
nagarajan n's user avatar
0 votes
0 answers
33 views

Nothing is getting displayed on webpage while using ember.js

I am building a simple web application using ember.js ,but in the webpage ,nothing is displayed ,in the console the following error is being displayed.I am using mirage as the back end rsvp.js:26 ...
Rishabh Talwar's user avatar
0 votes
1 answer
86 views

why .pushObject method is undefined in ember

"model.pushObejct is not a function" error. i am trying build an to do list app..and while updating an object it says model.pushObject is not a function. <ul class="hand"> {...
star lord's user avatar
0 votes
1 answer
59 views

this. Get( "object. Value") not working properly in ember.js

Sometimes this.get("object.value") not working properly in ember.js. But this.get("object").value is working. Any reason? this.get("object").value = "values" /...
I_Am_K's user avatar
  • 1
0 votes
0 answers
52 views

postCss issue when upgrading Tailwind in EmberJS

Im working on a project that has tailwindcss v1.9.6 installed and Im trying to incrementally upgrade it so Im trying to get to v2.2.0 The current setup uses ember-cli-postcss but if I follow the ...
UXCODA's user avatar
  • 1,128
-1 votes
1 answer
36 views

Unable to run ember commands when I use ember version 2.9.1

I initially installed and started trying hands on using latest ember. Everthing worked fine. But my company uses ember-cli@2.9.1, so I uninstalled and installed version 2.9.1 Now when I try the ...
Ragesh Kr's user avatar
  • 1,573
0 votes
0 answers
85 views

Ember Observers getting broken

We have a complex app and we do write test cases for testing. While writing an acceptance test case for my changes, I have encountered one issue. The issue was my test case was running perfectly fine ...
Manoj's user avatar
  • 1
1 vote
0 answers
40 views

CSS Images in EmberJS addons

I'd like to know the idiomatic way to reference css images (images linked in css through url(...) ) from within an Ember addon. Ostensibly the addon public/ folder will get merged with dist/ in the ...
Alexandros K's user avatar
1 vote
1 answer
80 views

Cannot find module './transforms/babel-plugin-convert-existence-checks-to-macros'

I've recently updated ember-cli and my app to 4.10.0, and trying to build with: ember serve throws the following error: Cannot find module './transforms/babel-plugin-convert-existence-checks-to-...
ccarlson's user avatar
0 votes
1 answer
97 views

Resolving sub-dependencies fails for some packages

For some npm packages (I have not yet figured out why) the build fails when it tries to resolve transitive dependencies. This happens for example with googleapis. Here is my ember-cli-build.js: app....
Captain America's user avatar
0 votes
1 answer
99 views

Specifying a different template path for an ember component

Suppose I have this structure: modals/ ├─ index.hbs ├─ base.ts ├─ new/ │ ├─ index.ts (extends base.ts) ├─ rename/ │ ├─ index.ts (extends base.ts) (Basically I have two components which have exactly ...
Darionn87's user avatar
0 votes
1 answer
95 views

Ember upgrade to 3.27 TypeError: Ember.computed.alias is not a function

I'm upgrading a project from 3.26 to 3.27 using ember-cli-update, and then this error started happening, As I could see the error is raised when we try to access some method inside @ember/computed ...
Ezequiel's user avatar
0 votes
0 answers
60 views

Host key verification failed while npm install in ember project

npm install is failing with below error, git clone, npm -v, git pull everything is working fine. This issue I am facing in my cloned repo folder only other places npm install is working fine. npm ERR! ...
Anand R's user avatar
  • 51
0 votes
1 answer
84 views

Ember invoke a component function from another component in same engine parent

my requirement is to use component actions from another component.Need to know whether it is possible to use data-down for this case. Say, I'm trying to invoke first-component from here engine/addon/...
AARTHY's user avatar
  • 1
0 votes
1 answer
139 views

Ember acceptance tests fail when ran all at once

I have about 5 acceptance tests which all pass when ran individually. When I want to run all of my tests, the acceptance tests will fail, except for the first one that was ran. All acceptance tests ...
Michael Vanhoutte's user avatar
1 vote
0 answers
153 views

Module parse failed: Unexpected token Emberjs

I currently have an issue in an addon which I'm trying to convert to an Emberjs addon to the V2 version. It's a component addon with the co-location layout and typescript in it. Something goes wrong ...
Michael Vanhoutte's user avatar
1 vote
0 answers
95 views

Having an error 'Error: TypeError: Already read'

I am very new to ember. I have created a drop down list with <PowerSelect> <PowerSelect class="uk-select" id="form-ReadSecurity" @options={{this....
Chaitali Wani's user avatar
0 votes
1 answer
44 views

Retrieving table content data in ember

I am creating an ember application which gets data from servlet and prints it in a table format.. the table looks like this Capacity Price RoomType RoomNo Action 6 4150 suite 93 ...
hariharan baskaran's user avatar
0 votes
0 answers
34 views

Ember Js: Getting Uncaught RangeError when calling Component

I've created a simple route and component. I'm trying to call component from the template. But when i call, component is called recursively and getting the below error vendor.js:58853 Uncaught ...
Gokul's user avatar
  • 1
0 votes
2 answers
76 views

How to have multiple routes for retrieving same html content

I have 2 routes /main and /home. Both should show the same HTML content. Is it possible to point both the routes to the same hbs file?
Learner's user avatar
2 votes
0 answers
267 views

Get this error during update ember 3.28 and How can solve it?

WARNING: [DEPRECATION] [DEPRECATION] Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead. See https://deprecations.emberjs.com/v3.x/#toc_ember-...
Monkey's user avatar
  • 21
0 votes
1 answer
174 views

Unit testing sessionStorage value in emberJS

I'm new to ember and trying to figure out how to unit test, using sinon, the sessionStorage based on url parameters when that page is visited. I've tried a few things but still can't get the desired ...
dar's user avatar
  • 43
3 votes
0 answers
124 views

Add meta data to ember js mirage data

I am working in an ember-cli project which has Mirage already set up for testing. It may be an older version, miragejs: ^0.1.44 and ember-cli-mirage: ^2.4.0 I have added a feature that relies on data ...
UXCODA's user avatar
  • 1,128
1 vote
1 answer
2k views

Minimist vulnerability

We are facing critical vulnerability in minimist which is added as transitive dependency. +-- ember-cli@3.24.0 | +-- bower-config@1.4.3 | | `-- minimist@0.2.1 We tried to resolve this using couple of ...
Gautam's user avatar
  • 3,286
-1 votes
1 answer
230 views

Errors when using "npm start" (in MacOS)

I have been trying for sometime already to just run "npm start" for an old app developed with EmberJs but I get several errors. I had tried the following: Uninstall, cache clean, install ...
Lady's user avatar
  • 1
0 votes
1 answer
349 views

How to modify/change the ember mirage response in my tests file?

The application uses ember-cli-mirage to mock the data and uses specific endpoint to get the specific response. Mocking data and showing the content to the templates works fine. Problem: I can't ...
Mikelemuel's user avatar
1 vote
2 answers
424 views

Not able to create a new ember app - Could not resolve dependency error

I'm just trying to create a new app from scratch, but getting this error: Command failed with exit code 1: npm install --loglevel error npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve ...
Cristobal BL's user avatar
1 vote
1 answer
751 views

How can I upgrade ember 2.7 to 3.28?

My team inherited an old (around 2017) ember.js based project, and we need to choose between remake the project with vue, or just upgrade ember version. The project use node 6.16, and here are the ...
holyris's user avatar
  • 161
0 votes
1 answer
607 views

Build Error (broccoli-persistent-filter:EslintValidationFilter) in test-helper.js

I'm sorry if this has been asked but I'm struggling to find a fix and really could do with some help. It has been a while since I last created a fresh ember project, but after creating a new project ...
John Dean's user avatar
3 votes
1 answer
131 views

Serving a project in Ember using `ember s` triggers file changed

So, I am serving an Ember using ember s command. Even though I do not make any changes to the code I keep seeing the entry file changed <fileName> in the server startup log, this makes the ...
Jegadish AM's user avatar
0 votes
0 answers
453 views

Eslint custom rule - Is it possible to find a variable value defined in ember component?

For example, I want to restrict a specific class name usage across my product. So, I had blocked that class name usage from .hbs files as template lint rules. But, that classnames are being used as ...
Gokula Kannan's user avatar
1 vote
0 answers
259 views

Template Compiler Error (TemplateCompiler) in ember-paper/templates/components/paper-dialog.hbs

My ember application started showing below error while building the app (Initially it was working and without any code change, build started failing): *Template Compiler Error (TemplateCompiler) in ...
Anand Gupta's user avatar
  • 5,660
1 vote
1 answer
274 views

POST request on form submit ember.js

I am totally green in Ember.JS. I’ve made simple adoption shelter application with Ember tutorials as I am using ember on front end, and Strapi (Node.JS) as an Headless CMS. I have all the endpoints ...
yakan's user avatar
  • 11
0 votes
1 answer
941 views

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 <Chart /> into application.hbs on dummy app and in addons/component/chart.js, add this import ...
user1814277's user avatar
0 votes
1 answer
142 views

Is it even possible to run an ember 2.18 application in this decade?

I have to make some adjustments to the project done with ember 2.18.2, and it is a complete disaster right now. I'm using macOS BigSur(11.6) and this is the pckage.json: "body-parser": "...
Animus's user avatar
  • 695
0 votes
1 answer
910 views

Ember js Build Error (broccoli-persistent-filter:EslintValidationFilter)

After cloning the repository from Github then install npm and try to execute ember s. but I got this error. Then I delete node modules directory and package-lock.json file and install npm again. But i ...
Rabbi hasan's user avatar
0 votes
0 answers
489 views

Ember Upgrade from 3.23 to 3.24 failing at build

Was planning to migrate ember application from 3.23 to 3.24. During ember serve the following error is coming: I have tried upgrading broccoli and babels libs to the latest version. Still the issue ...
Skaria Verghese's user avatar
0 votes
1 answer
237 views

How to do polling in Ember js component?

In ember js 3.24 LTS, I can create a component that receive data from an API call inside a route. The data from the API is an activity logs. The complexity arrives when I try to keep updating the logs ...
RonPringadi's user avatar
  • 1,294
1 vote
0 answers
46 views

Ember-cli css minification is removing quotes and spaces

Is there a way that I can disable some minifying rules when launching the ember-cli build? I have this CSS selector [attribute*="value" i] And the minified version returns [attribute*=...
Daniel Abril's user avatar
1 vote
0 answers
175 views

Ember: Uncaught Error: Cannot find module "apollo-cache"

I have tried to run an older ember project. I have updated the project with yarn and after tried and run it with ember serve When I try and run the app on localhost:4200 I get the following error in ...
Volker Heidema's user avatar
0 votes
0 answers
176 views

Building Ember app gives me error, Cannot read property 'pkg' of null

I was trying to compile a website frontend from 2015 that utilizes an old version of ember.js and node.js. The instructions state to run make build, which in turn would run ember build dist. Though ...
thankyoutybg's user avatar
1 vote
1 answer
321 views

Ember test launch in CI/dev environment

I have this in my testem.js launch_in_ci: ['Chromium'], launch_in_dev: ['Chrome'], Is there any way to run ember test and specify CI/dev environment? I know I can use this solution but this looks ...
griZZZly8's user avatar
  • 694
0 votes
1 answer
162 views

Ember: Selecting the object form array using index in #each loop

Trying to use the index value in a loop in EmberJs Consider the following scenario, {{#each array1 as |element index|}} <Component1 @prop={{element}} @prop2={{@array2[index]}} /> {{/each}} I ...
Mithun raj's user avatar
2 votes
0 answers
980 views

caniuse-lite is outdated will not go away after updating browserlist

I'm working on fixing build warnings in my Ember.js application currently, and one I get is this [Babel: @ember/test-helpers > applyPatches]Browserslist: caniuse-lite is outdated. Please run: npx ...
Floyd's user avatar
  • 65
0 votes
0 answers
288 views

How to install ember-cli version 1.13.11 without global?

I just install nvm software and I will run nvm install 4.0.0. The node will download and npm also download and install it automatically. Next, I will run nvm use 4.0.0 set-up will set it. now I see my ...
Raja R's user avatar
  • 1
0 votes
1 answer
188 views

Ember - How to break the build if test coverage fails minimum threshold?

I want to break the build if coverage drops below certain percentage. Currently test runs and coverage is generated if I run below command. COVERAGE=true ember test but I don't see a way to break the ...
Ijaz's user avatar
  • 421
0 votes
1 answer
148 views

Blocking error after updating an emberJS app to ember-cli and data 3.28

I have updated an app to ember 3.28 After managing to serve the app there is an error and a white page in the browser when I try to run the app. This is the console error : Uncaught TypeError: Ember....
Syl's user avatar
  • 3,719

1
2 3 4 5
63