Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React CI fails with sample. #23678

Closed
1 task done
mshima opened this issue Sep 28, 2023 · 1 comment
Closed
1 task done

React CI fails with sample. #23678

mshima opened this issue Sep 28, 2023 · 1 comment

Comments

@mshima
Copy link
Member

mshima commented Sep 28, 2023

Overview of the issue

Sample is failing at dotnetcore CI but looks related to react.

Motivation for or Use Case
Reproduce the error

Welcome to the JHipster Information Sub-Generator

react@ /Users/mshima/git/jhipster-samples/dotnetcore/react
└── (empty)
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "jwt",
    "baseName": "JhipsterSampleApplication",
    "clientFramework": "react",
    "clientPackageManager": "npm",
    "clientTheme": "none",
    "clientThemeVariant": "",
    "creationTimestamp": 1587112984699,
    "dtoSuffix": "DTO",
    "enableTranslation": false,
    "entitySuffix": "",
    "jhiPrefix": "jhi",
    "jhipsterVersion": "7.9.3",
    "namespace": "JhipsterSampleApplication",
    "prodDatabaseType": "mysql",
    "serverPort": "5000",
    "testFrameworks": [
      "cypress"
    ],
    "useSass": true
  },
  "generator-jhipster-dotnetcore": {
    "ciType": "Github"
  }
}
Environment and Tools

openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode)

git version 2.30.1 (Apple Git-130)

node: v18.18.0
npm: 10.0.0

Docker version 24.0.6, build ed223bc

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions
/**
 * The Employee entity.
 */
entity Employee {
  /**
   * The firstname attribute.
   */
  firstName String
  lastName String
  email String
  phoneNumber String
  hireDate Instant
  salary Long
  commissionPct Long
}
/**
 * not an ignored comment
 */
entity Location {
  streetAddress String
  postalCode String
  city String
  stateProvince String
}
entity Department {
  departmentName String required
}
entity Job {
  jobTitle String
  minSalary Long
  maxSalary Long
}
/**
 * PieceOfWork entity.\n@author The JHipster team.
 */
entity PieceOfWork {
  title String
  description String
}
entity Region {
  regionName String
}
entity JobHistory {
  startDate Instant
  endDate Instant
  language Language
}
entity Country {
  countryName String
}
enum Language {
  FRENCH,
  ENGLISH,
  SPANISH
}

relationship OneToOne {
  Location{country} to Country
  Department{location} to Location
  JobHistory{job} to Job
  JobHistory{department} to Department
  JobHistory{employee} to Employee
  Country{region} to Region
}
relationship OneToMany {
  Employee{job} to Job
  /**
   * A relationship
   */
  Department{employee} to Employee
}
relationship ManyToOne {
  Employee{manager} to Employee
}
relationship ManyToMany {
  Job{chore(title)} to PieceOfWork{job}
}

dto Employee, Location, Department, Job, PieceOfWork, Region, JobHistory, Country with mapstruct
paginate Employee, JobHistory with infinite-scroll
paginate Job with pagination
service Employee, Job with serviceClass
service Location, Department, PieceOfWork, Region, JobHistory, Country with serviceImpl

Congratulations, JHipster execution is complete!
If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/

Thanks for using JHipster!

Related issues
Suggest a Fix
JHipster Version(s)
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2023

JHipster has completed the sample check
.yo-rc.json: valid
Entities JDL: valid
Application: successfully generated
Frontend check: failure
Backend check: success
E2E check: success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants