Skip to content

Cannot change version of node when create symbolic link #1368

@NDKhanh96

Description

@NDKhanh96

Due to building a project with Xcode, I needed to create a symbolic link by using the following command in the terminal:
sudo ln -s $(which node) /usr/local/bin/node
However, after running this command, the fnm use command no longer changes the Node.js version as expected. The node version always defaults to the version set as the default by fnm.

Image

However, this problem does not occur with nvm. Is there any way to fix it with fnm? I need to use the symbolic link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions