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

Bug: error when running generator #3

Open
Coderdreams opened this issue Oct 10, 2024 · 0 comments
Open

Bug: error when running generator #3

Coderdreams opened this issue Oct 10, 2024 · 0 comments

Comments

@Coderdreams
Copy link

Coderdreams commented Oct 10, 2024

$ yo jhipster-gql
Error jhipster-gql

Cannot find module '../../utils/commons'
Require stack:

  • /home/user/.volta/tools/image/packages/generator-jhipster-gql/lib/node_modules/generator-jhipster-gql/generators/app/index.js
    TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('MODULE_NOT_FOUND')
    at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
    at process.exit (node:internal/process/per_thread:180:24)
    at onError (/home/user/.volta/tools/image/packages/yo/lib/node_modules/yo/lib/cli.js:117:11)
    at /home/user/.volta/tools/image/packages/yo/lib/node_modules/yo/lib/cli.js:168:54
    at async init (/home/user/.volta/tools/image/packages/yo/lib/node_modules/yo/lib/cli.js:168:5)
    at async pre (/home/user/.volta/tools/image/packages/yo/lib/node_modules/yo/lib/cli.js:83:3)
    at async /home/user/.volta/tools/image/packages/yo/lib/node_modules/yo/lib/cli.js:193:3

yo --version
5.0.0

npm --version
10.8.3

node --version
v20.17.0

jhipster --version
8.7.1

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"

yo jhipster-gql --version
5.0.0

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