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

Gradle Node Plugin fails in some use case. #28192

Open
5 tasks done
mshima opened this issue Dec 14, 2024 · 1 comment
Open
5 tasks done

Gradle Node Plugin fails in some use case. #28192

mshima opened this issue Dec 14, 2024 · 1 comment

Comments

@mshima
Copy link
Member

mshima commented Dec 14, 2024

Overview of the issue
[backend] Error: Cannot find module '../lib/cli.js'
[backend] Require stack:
[backend] - /Users/runner/work/generator-jhipster/generator-jhipster/app/build/node/bin/npm
[backend]     at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
[backend]     at Function._load (node:internal/modules/cjs/loader:1075:27)
[backend]     at TracingChannel.traceSync (node:diagnostics_channel:322:14)
[backend]     at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
[backend]     at Module.require (node:internal/modules/cjs/loader:1340:12)
[backend]     at require (node:internal/modules/helpers:138:16)

Reproduction:

  • Convert deserver sample to gradle: 3a046ed
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)
Browsers and Operating System
  • Tickets opened without reproduction steps or that doesn't follows the template recommendation will be closed.
  • This issue is prompt-related or an error that prevents JHipster from generating an application.
  • I don't have a JDL otherwise I should open an JDL Issue
  • The application is not successfully generated otherwise, I should open an Issue with jhipster info
  • Checking this box is mandatory (this is just to show you read everything)
@julillosamaral
Copy link

julillosamaral commented Jan 31, 2025

Hi,

Me an my team are hitting the same issue.

We're working with jhipster 8.8.0

Any workaround besides using node and npm installed in the system?

Thanks,
Julio

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