@mariamtamer91 please make sure installed appium 1.8.1 for windown and then uninstall at device two apps: io.appium.uiautomator2.server and io.appium.uiautomator2.server.test. Try your test again
From my experience, Katalon Studio expects node to be accessible from a specific command path. On MacOS, that’s /usr/local/bin/node. I don’t think you can configure that, either, so you may need to create a shortcut on your system to point to the installed version of node that you have.
The first thing I would check is what does running the command which nodejs give you? Also, does which node give you anything (because on my system, the node bin is just node, not nodejs, although this might differ on Ubuntu)?
Based on the results of the above, you can try creating a symbolic link from the location of your Nodejs binary to /usr/local/bin/node.
As a suggestion in the future, since the last post in this thread is 7 months ago, and specifically is for solving compatibility with Appium 1.8.1 and Katalon 6.1.1 (both old now), it would help your question get more visibility if you created a new post with a relevant subject line.