cloudron-support: suggest removing nodejs apt
This commit is contained in:
@@ -354,6 +354,7 @@ function check_node() {
|
|||||||
echo "You can try the following to fix the problem:"
|
echo "You can try the following to fix the problem:"
|
||||||
echo " ln -sf /usr/local/node-${expected_node_version}/bin/node /usr/bin/node"
|
echo " ln -sf /usr/local/node-${expected_node_version}/bin/node /usr/bin/node"
|
||||||
echo " ln -sf /usr/local/node-${expected_node_version}/bin/npm /usr/bin/npm"
|
echo " ln -sf /usr/local/node-${expected_node_version}/bin/npm /usr/bin/npm"
|
||||||
|
echo " apt remove -y nodejs"
|
||||||
echo " systemctl restart box"
|
echo " systemctl restart box"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user