Questions tagged jhipster

Explore the latest questions and answers asked by our top developers.

getting Content Security Policy error after deploying jhipster Angular application on Heroku while accessing Marketo REST APIs

I have created Angular based monolith application using jhipster. From Angular I made http calls to Marketo REST APIs and are working fine in my local. I could able to generate access token then GET folders and Create folders. Then I have deployed to heroku, (https://xxx123.herokuapp.com/), but there I am. getting below error, Refused to […]

No provider for OktaAuth but OktaAuth define?

Regards to th Okta Documentation : https://developer.okta.com/docs/guides/sign-into-spa/angular/main/#configure-the-sdk, I’ve configured my application to authentificate with Google. So, I have implement OktaAuthModule but I always have this error : core.js:6498 ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(AppModule)[OktaAuth -> OktaAuth -> OktaAuth]: NullInjectorError: No provider for OktaAuth! NullInjectorError: R3InjectorError(AppModule)[OktaAuth -> OktaAuth -> OktaAuth]: NullInjectorError: No provider for OktaAuth! […]

By Broshet
Published
Categorized as angular, jhipster, okta, typescript Tagged , , ,

JHipster generated file failed to convert property value of type ‘java.lang.String’ to required type ‘java.time.LocalDate’

I have generated the files by using JHipster and currently I am trying to call a query which involves a Date variable but am getting a failed conversion. The following is my typescript file method which provide the criteria query for the search. loadSearchPage(page?: number): void { const pageToLoad: number = page || this.page; this.transactionService […]

By NiC
Published
Categorized as angular, java, jhipster, typescript Tagged , , ,

Jhipster problem with regenerating entities

I have a problem with Jhipster. Until now, when I use in my projects command "Jhipster entity entity_name" the single entity was regenerated. But now when I want to regenerate single entity it work for all project files. I’m using 7.2.0 version of Jhipster. Thanks for answers. My config: { "generator-jhipster": { "applicationType": "monolith", "baseName": […]

By user17377172
Published
Categorized as angular, code-generation, jhipster, spring Tagged , , ,

JHipster Angular use output of query as input of next query

I am trying to write a code where an Angular Course Service receives the login id of a student to list all courses where the student enrolls. This result is then piped to another service which takes the output of the first query as its input. teachers: ITeacher[]; this.courseService.query({ ‘stdId.equals’: this.account?.login, }).pipe( map(data=> { this.teacherService.query({ […]

By Monty Swanson
Published
Categorized as angular, jhipster, rxjs Tagged , ,

Can we create a Angular project blueprint using Angular CLI something like Jhipster does? I want to use this blueprint for other projects

Can we create a Angular project blueprint using Angular CLI something like Jhipster does? I want to use this blueprint for other projects. Is this possible to do this with Angular Schematics? If any other please suggest Source: Angular Questions

How to add a query to check if one of 2 strings contain the searched key

My code looks something like this: this.cashRegisterService .query({ ‘storeName.contains’: event.query, ‘identifier.contains’: event.query, }) .subscribe(data => { this.cashregisters = (data.body || []).map(cashRegister => ({ id: cashRegister.id, name: `${cashRegister.identifier} ${cashRegister.storeName} (${cashRegister.mallName})`, })); }); I want to check if the identifier OR the storeName contain the event.query but what this does is to check if both of them […]

By Mihnea Burluc
Published
Categorized as angular, javascript, jhipster Tagged , ,

error NG8001: ‘ngx-masonry’ is not a known element

I’m trying to import the module ngx-masonry in my JHipster app (angluar app). I run npm install ngx-masonry masonry-layout –save Then imported the module inside app.module.ts import { NgModule, LOCALE_ID } from ‘@angular/core’; import { registerLocaleData } from ‘@angular/common’; import { HttpClient, HttpClientModule } from ‘@angular/common/http’; import locale from ‘@angular/common/locales/en’; import { BrowserModule, Title } […]

translation-not-found[landing.title] on the title bar in jhipster 6.5.1

I am having this error "translation-not-found[landing.title]" displaying on the title bar of some of the pages in a jhipster application. I checked on stackoverflow for similar issues and I found a solution Jhipster 6 translation not found issue "npm i -g [email protected]" which i have tried, but the error still persists. . This is what […]

By Joca
Published
Categorized as angular, jhipster Tagged ,

Switch Bootswatch themes in jHipster

Is there anyway to create a jhipster app with the capability of switching between themes? At least dark and light theme. Source: Angular Questions

By Khaled Algelowb
Published
Categorized as angular, bootswatch, jhipster Tagged , ,
1 2 3 12

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq