Hi All,
I am trying to run appium from source by the below mentioned command.
git clone https://github.com/appium/appium.git
cd appium
npm install
npm run build
node .
On trying entering the last command “node .” i see the error ‘MODULE_NOT_FOUND’ .Below is the completed logs from terminal.
raja.subudhi@YFYTXJ24VR appium % node .
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module ‘/Users/raja.subudhi/Desktop/appium-source/appium’
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: ‘MODULE_NOT_FOUND’,
requireStack: []
}
Node.js v18.11.0
Please provide some insight for the same for the work around?