generator-jhipster-nodejs icon indicating copy to clipboard operation
generator-jhipster-nodejs copied to clipboard

Feature/upgrade jh 781

Open UserNobody14 opened this issue 2 years ago • 6 comments

Just like my previous pull request except one increment higher, bumps the dependencies up to jhipster 7.8.1

UserNobody14 avatar May 07 '22 16:05 UserNobody14

Hi, Thanks for the interest. Updating to new jhipster is not so simple, in fact we need to resolve the actual problem of integration tests not running in github actions.

ghost avatar May 20 '22 19:05 ghost

@amanganiello90 Can we trigger the build again? The pipelines says "The logs for this run have expired and are no longer available."

pahlers avatar Sep 19 '22 21:09 pahlers

Found another pipeline which have logs

pahlers avatar Sep 19 '22 22:09 pahlers

It seems the module chalk isn't been found by the application.

I would like to know if:

  1. chalk isn't installed,
  2. The environment is corrupt and no packages can't be found;

The error is in generators/app/index.js. Can we do a small test by swap two rows around and test again?

const AppGenerator = require('generator-jhipster/generators/app');
const chalk = require('chalk');

pahlers avatar Sep 19 '22 22:09 pahlers

Chalk has already added in package.json : https://github.com/jhipster/generator-jhipster-nodejs/blob/7002525011ef61db674ea8997a7dabf7fdd497ec/package.json#L56

ghost avatar Sep 20 '22 13:09 ghost

That's good, still the application can't find it. I suspect there is a configuration error in the build and in a way it can't find the modules.

To validate this I would like to change the code so chalk isn't loaded first. If the problem is still chalk I know to look into chalk. If the problem becomes another module, I know to look into npm and the project-configuration.

pahlers avatar Sep 20 '22 15:09 pahlers

Hi, Thanks for the interest. Updating to new jhipster is not so simple, in fact we need to resolve the actual problem of integration tests not running in github actions.

Hello @amanganiello90! I would like to contribute to the NHipster project. What is the most up-to-date branch or commit, which tries to use a version of JHipster >= 7.7.x and that is minimally stable? I understand that this branch or commit may still have some errors, but I would like to know where to try to improve the NHipster project from.

thiago-a-delgado avatar May 11 '23 14:05 thiago-a-delgado

Thank you. Try the main branch

ghost avatar May 11 '23 17:05 ghost

Superseded by https://github.com/jhipster/generator-jhipster-nodejs/pull/301

Thanks anyway @UserNobody14 for the contribution

DanielFran avatar Nov 02 '23 12:11 DanielFran