-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
nodeSetup: Couldn't follow symbolic link. #313
Comments
What version of the plugin are you using? |
Thanks for reaching out! Version:
Symlink target:
|
We are facing the same issue:
Environment (in case it makes a difference):
This task produces the same error: tasks.register<Exec>("npmVersion") {
environment = mapOf(Pair("PATH", "/opt/homebrew/bin"))
commandLine = listOf("npm", "--version")
} |
I think you're hitting this Java 21 issue: gradle/gradle#10483 (comment) For the |
same issue here since version |
Would disabling the gradle daemon workaround this issue? https://docs.gradle.org/current/userguide/gradle_daemon.html#disable_for_a_build I'd be curious to learn from others if that avoids this problem. |
Not that I know of, and unless Gradle can work around this issue the only thing we can do is stop using But I think this issue might be incidentally solved in #328 (though I've been unable to find the time to properly review it) |
Hi,
Sometimes the nodeSetup task is failing with the error
'Couldn't follow symbolic link.' on osx.
Cleaning the .gradle directory fixes the issue.
(This is exactly the same problem as srs/gradle-node-plugin#190.)
Unfortunately I can't share my example and I can't reproduce this from a clean state, but I'll try to come up with a minimal example.
The text was updated successfully, but these errors were encountered: