Open thSoft opened 1 month ago
What version of the plugin are you using?
And when it fails, what does /Users/thsoft/myproject/.gradle/nodejs/node-v20.11.1-darwin-x64/bin/npx
point to?
Thanks for reaching out!
Version:
plugins {
id("com.github.node-gradle.node") version "7.0.2"
}
Symlink target:
/Users/thsoft/myproject/.gradle/nodejs/node-v20.11.1-darwin-x64/bin/npx -> /Users/thsoft/myproject/.gradle/nodejs/node-v20.11.1-darwin-x64/lib/node_modules/npm/bin/npx-cli.js
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 https://github.com/srs/gradle-node-plugin/issues/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.