Cannot run node ***.js

Hello, I have been trying to make Appium work for several days now with no help. I followed the instructions that can be found on this site and also checked out several tutorials on the topic with no help, every time I try to run the test test script (index.js) from the tutorial all I get back after typing in “node index.js” is this Error: Invalid or unsupported WebDriver capabilities found (“platformVersion”). Ensure to only use valid W3C WebDriver capabilities (see https://w3c.github.io/webdriver/#capabilities). I have no idea as to what may be causing this since I followed everything step by step and I didnt change the example test given.

Can you post a link to your tutorial and give the step where failure occurs?

It would also be helpful to see your log. Prefer it as a git gist but cut & paste if you can’t do that.

This is the tutorial I used https://appium.io/docs/en/about-appium/getting-started/?lang=en#appium-clients and its the very last step. And I cannot post any logs as the error is given in the cmd 2023-04-01T18:58:28.705Z INFO webdriver: Initiate new session using the WebDriver protocol this is the only part being “recorded”

Yeah, was looking for server log, sorry if I wasn’t clear. In the tutorial you cite, it instructs to start Appium using ‘appium’ command. In that window, you will see logs that start like this:

[Appium] Welcome to Appium v1.22.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723

… and so on.

Another question: What version of Node are you using? You can find out by typing, ‘node -v’ in a terminal.