-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Jhipster-migrate fails upgrading from jhipster 8.7.1 to 8.8.0 #30
Comments
When I tried running the command it attempted to run, it failed due to a missing dependency -- globby:
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ (node:22652) [DEP0040] DeprecationWarning: The Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/ Application files will be generated in folder: C:\src\totalfact WARNING! ______________________________________________________________________________ JHipster update available: 8.8.0 (current: 8.7.3) Run npm install -g generator-jhipster to update. WARNING! Ignoring 'Collection' definitions as it is using a built-in Entity 'user': 'otherEntityRelationshipName' is set with value 'undefined' at relationship 'sharedWith' but no back-reference was found import pkg from 'globby'; file:///C:/src/totalfact/node_modules/generator-jhipster/dist/generators/workspaces/support/applications-lookup.js:21 import pkg from 'globby';
|
I installed globby using "npm install globby" and then jhipster-migrate worked. |
It fails immediately with this error:
C:\src\totalfact feature/DAP-61481 jhipster-migrate 22.11.0 9.63s ✔ 15:19:58
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v8.8.0
===================== JHipster Migrate =====================
(node:3832) [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
✖ failed to regenerate source application using JHipster current
ERROR! An error occured while running jhipster-migrate:migrate#prepareMigrateBranch
ERROR! ERROR! Command failed with exit code 1: npx --no -- jhipster --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks
Error: Command failed with exit code 1: npx --no -- jhipster --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks
at makeError (file:///C:/Users/murwilso/AppData/Roaming/npm/node_modules/generator-jhipster-migrate/node_modules/yeoman-generator/node_modules/execa/lib/error.js:60:11)
at handlePromise (file:///C:/Users/murwilso/AppData/Roaming/npm/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:///C:/Users/murwilso/AppData/Roaming/npm/node_modules/generator-jhipster-migrate/generators/migrate/generator.js:584:7)
at async default.prepareMigrateBranch (file:///C:/Users/murwilso/AppData/Roaming/npm/node_modules/generator-jhipster-migrate/generators/migrate/generator.js:326:9)
at async default.executeTask (file:///C:/Users/murwilso/AppData/Roaming/npm/node_modules/generator-jhipster-migrate/node_modules/yeoman-generator/dist/actions/lifecycle.js:258:13)
at async runLoop.add.once (file:///C:/Users/murwilso/AppData/Roaming/npm/node_modules/generator-jhipster-migrate/node_modules/yeoman-environment/dist/environment-base.js:395:17) {
shortMessage: 'Command failed with exit code 1: npx --no -- jhipster --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks',
command: 'npx --no -- jhipster --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks',
escapedCommand: 'npx --no -- jhipster --force --skip-install --skip-git --ignore-errors --no-insight --skip-checks',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
cwd: 'C:\src\totalfact',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
The text was updated successfully, but these errors were encountered: