I am trying to get into the source code from here Running Appium from Source
The step where I ran node .
throw error said Error: Cannot find module
Shouldn’t it be npm run start
instead?
I am trying to get into the source code from here Running Appium from Source
The step where I ran node .
throw error said Error: Cannot find module
Shouldn’t it be npm run start
instead?
Found an answer, not sure if it is correct. I created pull request here. https://github.com/appium/appium.io/pull/382
Thank you @mykola-mokhnach. Also got the answer from https://github.com/appium/appium.io/pull/382#issuecomment-1336829689
This leads me to the next question about the npm run start
How does the "start": "appium",
link or relates to source code in package/appium'?
It looks like npm run start
is equivalent to running node .
inside package/appium
. I am not sure if it is because workspaces
in package.json
or if there is other config to help.
appium is now a monorepo. It includes packages that were separate before under the single @appium
root