Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
MacOS doesn't allow creating anything in /usr/bin so I suggested to create it in /usr/local/bin instead
Source Link

My issue was caused by node command not found by gradle.

# fixed by linking the node path to the /usr/bin/node # node is binary was located in $HOME/.nvm/versions/node/v14.13.0/bin/node sudo ln -s $(which node) /usr/bin/node 

When I run the above command the issue above disappeared.

If you are getting "Operation not permitted" error, please use the following:

# you might need to create the /usr/local/bin directory if it doesn't exist sudo ln -s $(which node) /usr/local/bin/node 

My issue was caused by node command not found by gradle.

# fixed by linking the node path to the /usr/bin/node # node is binary was located in $HOME/.nvm/versions/node/v14.13.0/bin/node sudo ln -s $(which node) /usr/bin/node 

When I run the above command the issue above disappeared.

My issue was caused by node command not found by gradle.

# fixed by linking the node path to the /usr/bin/node # node is binary was located in $HOME/.nvm/versions/node/v14.13.0/bin/node sudo ln -s $(which node) /usr/bin/node 

When I run the above command the issue above disappeared.

If you are getting "Operation not permitted" error, please use the following:

# you might need to create the /usr/local/bin directory if it doesn't exist sudo ln -s $(which node) /usr/local/bin/node 
Source Link

My issue was caused by node command not found by gradle.

# fixed by linking the node path to the /usr/bin/node # node is binary was located in $HOME/.nvm/versions/node/v14.13.0/bin/node sudo ln -s $(which node) /usr/bin/node 

When I run the above command the issue above disappeared.