Hiii,
I installed appium and when I run it there is a warning:
(node:20247) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/mjpeg-server/package.json' of './lib/mpegserver'. Please either fix that or report it to the module author (Use
node --trace-deprecation ...to show where the warning was created)
and when I run node --trace-deprecation ... on my terminal it gives me back:
node:internal/modules/cjs/loader:944 throw err; ^
Error: Cannot find module '/home/X/...' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15) at Function.Module._load (node:internal/modules/cjs/loader:774:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
what's the problem here and how can I solve it?!
I'm using ubuntu 18.4. And node (v16.2.0)/ npm version(7.13.0).