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 plugin doesn't support configuration cache #20716

Closed
igieon opened this issue Dec 16, 2024 · 2 comments
Closed

Gradle plugin doesn't support configuration cache #20716

igieon opened this issue Dec 16, 2024 · 2 comments

Comments

@igieon
Copy link

igieon commented Dec 16, 2024

Description of the bug

Run build project with configuration cache and you get error:

Class `com.vaadin.flow.server.frontend.FrontendToolsLocator`: external process started 'which node'
  See https://docs.gradle.org/8.11.1/userguide/configuration_cache.html#config_cache:requirements:external_processes
 Starting an external process 'which node' during configuration time is unsupported.

Expected behavior

Build project with command:

./gradlew --configuration-cache --build-cache vaadinPrepareFrontend 

Minimal reproducible example

Use spring initliazir with vaadin and execute:

./gradlew --configuration-cache --build-cache vaadinPrepareFrontend 

Versions

Latest from spring initializer

@igieon igieon changed the title Gradle plugin doesn't support configuraiton cache Gradle plugin doesn't support configuration cache Dec 16, 2024
@mshabarov
Copy link
Contributor

Using the Gradle configuration cache is an enhancement already requested here #18612.

For the problem with which node, we'll need to investigate, but I pretty sure Vaadin has some config parameter via which you can set the path to Node, I need to recall the name of it.

@mshabarov
Copy link
Contributor

By the way, it's not only about which node, but other commands that Gradle does not support, see the linked issue.

@mshabarov mshabarov closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2024
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