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

Error when migrating from 7.9.3 #27

Open
amatosg opened this issue Dec 6, 2024 · 0 comments
Open

Error when migrating from 7.9.3 #27

amatosg opened this issue Dec 6, 2024 · 0 comments

Comments

@amatosg
Copy link

amatosg commented Dec 6, 2024

I'm running the migrator, but I get this error message:

Full output
jhipster-migrate                                                                                                                                                                                      ─╯

        ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
        ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
        ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
  ██╗   ██║ ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
  ╚██████╔╝ ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
   ╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝
                            https://www.jhipster.tech
Welcome to JHipster v8.7.3

===================== JHipster Migrate =====================

(node:28656) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Welcome to the JHipster Migrate Sub-Generator
This will help migrate your current application codebase
No blueprints detected, skipping check of last blueprint version
✔ created branch jhipster_migrate_source
✔ cleaned up project directory
✔ npm install completed
     info Running npx --no -- jhipster --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks --with-entities --prefer-global
✔ successfully regenerated source application using JHipster current
⠴ applying prettier to source application(node:28656) ExperimentalWarning: CommonJS module /usr/lib/node_modules/generator-jhipster-migrate/node_modules/piscina/dist/worker.js is loading ES Module /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/generators/bootstrap/support/prettier-worker.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
⠸ applying prettier to source application : Completed src/main/webapp/app/entities/warehouse/update/warehouse-update.component.tsWARNING! Error parsing file src/main/webapp/app/home/home.component.html: SyntaxError: Incomplete block "jhipster en Twitter". If you meant to write the @ character, you should use the "@" HTML entity instead. (48:101)
  46 |         >
  47 |       </li>
> 48 |       <li><a href="https://twitter.com/jhipster" target="_blank" rel="noopener noreferrer">contacto @jhipster en Twitter</a></li>
     |                                                                                                     ^^^^^^^^^^^^^^^^^^^^
  49 |     </ul>
  50 |
  51 |     <p>

At: 1: <div class="row">
2:   <div class="col-md-3">
3:     <span class="hipster img-fluid rounded"></span>
4:   </div>
5: 
6:   <div class="col-md-9">
7:     <h1 class="display-4"><span>¡Bienvenido, Java Hipster!</span> (Factur App)</h1>
8: 
9:     <p class="lead">Esta es su página de inicio</p>
10: 
11:     <div [ngSwitch]="account !== null">
12:       <div class="alert alert-success" *ngSwitchCase="true">
13:         <span id="home-logged-message" *ngIf="account">Está conectado como "{{ account.login }}".</span>
14:       </div>
15: 
16:       <div class="alert alert-warning" *ngSwitchCase="false">
17:         <span>Si desea </span>
18:         <a class="alert-link" (click)="login()">iniciar sesión</a
19:         ><span
20:           >, puede intentar con las cuentas predeterminadas:<br />- Administrador (usuario="admin" y contraseña="admin") <br />- Usuario
21:           (usuario="user" y contraseña="user").</span
22:         >
23:       </div>
24: 
25:       <div class="alert alert-warning" *ngSwitchCase="false">
26:         <span>¿Aún no tienes una cuenta?</span>&nbsp;
27:         <a class="alert-link" routerLink="account/register">Crea una cuenta</a>
28:       </div>
29:     </div>
30: 
31:     <p>Si tiene preguntas sobre JHipster:</p>
32: 
33:     <ul>
34:       <li><a href="https://www.jhipster.tech/" target="_blank" rel="noopener noreferrer">Página de inicio de JHipster</a></li>
35:       <li>
36:         <a href="https://stackoverflow.com/tags/jhipster/info" target="_blank" rel="noopener noreferrer">JHipster en Stack Overflow</a>
37:       </li>
38:       <li>
39:         <a href="https://github.com/jhipster/generator-jhipster/issues?state=open" target="_blank" rel="noopener noreferrer"
40:           >JHipster seguimiento de errores</a
41:         >
42:       </li>
43:       <li>
44:         <a href="https://gitter.im/jhipster/generator-jhipster" target="_blank" rel="noopener noreferrer"
45:           >Sala de chat pública de JHipster</a
46:         >
47:       </li>
48:       <li><a href="https://twitter.com/jhipster" target="_blank" rel="noopener noreferrer">contacto @jhipster en Twitter</a></li>
49:     </ul>
50: 
51:     <p>
52:       <span>Si te gusta JHipster, danos una estrella en</span>
53:       <a href="https://github.com/jhipster/generator-jhipster" target="_blank" rel="noopener noreferrer">GitHub</a>!
54:     </p>
55:   </div>
56: </div>
57: 
✔ applying prettier to source application
⠦ applying prettier to actual application(node:28656) ExperimentalWarning: CommonJS module /usr/lib/node_modules/generator-jhipster-migrate/node_modules/piscina/dist/worker.js is loading ES Module /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/generators/bootstrap/support/prettier-worker.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✔ applying prettier to actual application
✔ merged jhipster_migrate_source into main
✔ cleaned up project directory
⠦ applying prettier to actual application(node:28656) ExperimentalWarning: CommonJS module /usr/lib/node_modules/generator-jhipster-migrate/node_modules/piscina/dist/worker.js is loading ES Module /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/generators/bootstrap/support/prettier-worker.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✔ applying prettier to actual application
     info Running /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/cli/jhipster.cjs app --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks
✖ failed to regenerate target application using JHipster bundled
ERROR! An error occured while running jhipster-migrate:migrate#generateWithTargetVersion
ERROR! ERROR! Command failed with exit code 1: /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/cli/jhipster.cjs app --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks
Error: Command failed with exit code 1: /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/cli/jhipster.cjs app --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks
    at makeError (file:///usr/lib/node_modules/generator-jhipster-migrate/node_modules/yeoman-generator/node_modules/execa/lib/error.js:60:11)
    at handlePromise (file:///usr/lib/node_modules/generator-jhipster-migrate/node_modules/yeoman-generator/node_modules/execa/index.js:124:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async default.regenerate (file:///usr/lib/node_modules/generator-jhipster-migrate/generators/migrate/generator.js:584:7)
    at async default.generateWithTargetVersion (file:///usr/lib/node_modules/generator-jhipster-migrate/generators/migrate/generator.js:410:9)
    at async default.executeTask (file:///usr/lib/node_modules/generator-jhipster-migrate/node_modules/yeoman-generator/dist/actions/lifecycle.js:258:13)
    at async runLoop.add.once (file:///usr/lib/node_modules/generator-jhipster-migrate/node_modules/yeoman-environment/dist/environment-base.js:395:17) {
  shortMessage: 'Command failed with exit code 1: /usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/cli/jhipster.cjs app --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks',
  command: '/usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/cli/jhipster.cjs app --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks',
  escapedCommand: '"/usr/lib/node_modules/generator-jhipster-migrate/node_modules/generator-jhipster/dist/cli/jhipster.cjs" app --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  cwd: '/home/alejandro/projects/facturapp-793',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
Am I missing something?

Node: v23.1.0
npm: 10.9.0

Thanks

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

No branches or pull requests

1 participant