When I am trying to install appium on my Ubunt linux, I am getting following error
ashish@ashish-barot:~/appium/bin$ appium
internal/util.js:360
const filename = frame.getFileName();
^
TypeError: frame.getFileName is not a function
at isInsideNodeModules (internal/util.js:360:28)
at showFlaggedDeprecation (buffer.js:149:8)
at new Buffer (buffer.js:174:3)
at retrieveSourceMap (/home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:118:21)
at mapSourcePosition (/home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:140:21)
at wrapCallSite (/home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:303:20)
at /home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:338:26
at Array.map ()
at Function.prepareStackTrace (/home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:337:24)
at process.emit (/home/linuxbrew/.linuxbrew/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:387:52)
at process._fatalException (internal/bootstrap/node.js:435:27)
Can anyone have any idea about this? Or any good URL / document to follow this installation.
Thank you in advance.
Regards,
Ashish Barot.