Can't build in root folder with node .

8 views
Skip to first unread message

Sarin Suriyakoon

unread,
Dec 2, 2022, 3:44:39 AM12/2/22
to appium-developers
I am trying to follow this guide to build from source http://appium.io/docs/en/contributing-to-appium/appium-from-source/

then I run "node ."

I found this error.

node:internal/modules/cjs/loader:936

  throw err;

  ^


Error: Cannot find module '/Users/[username path to appium]/appium'

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)

    at Function.Module._load (node:internal/modules/cjs/loader:778:27)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)

    at node:internal/main/run_main_module:17:47 {

  code: 'MODULE_NOT_FOUND',

  requireStack: []

}

Please help

Sarin Suriyakoon

unread,
Dec 2, 2022, 4:56:14 AM12/2/22
to appium-developers
OK instead of `node .` I use `npm run start` instead. Cheers!
Reply all
Reply to author
Forward
0 new messages