Skip to content

nodeSetup: Couldn't follow symbolic link. #313

Open
@thSoft

Description

@thSoft

Hi,

Sometimes the nodeSetup task is failing with the error
'Couldn't follow symbolic link.' on osx.

Cleaning the .gradle directory fixes the issue.

> Task :myproject:nodeSetup FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':magicdraw-oslc-delegated-dialog:nodeSetup'.
> Couldn't follow symbolic link '/Users/thsoft/myproject/.gradle/nodejs/node-v20.11.1-darwin-x64/bin/npx'.

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions