Not able to launch appium after upgrade node 10.0.0
See original GitHub issueThe problem
Appium is not being launched after node upgrade to 10.0.0
Environment
- Appium version (or git revision) that exhibits the issue: 1.8.0
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium: High sierra 10.13.4 (17E199)
- Node.js version (unless using Appium.app|exe): 10.0.0
- Mobile platform/version under test: Not required
- Real device or emulator/simulator: Not required
- Appium CLI or Appium.app|exe: Not Required
Details
Appium 1.8.0 was working fine with older version of node, but after upgrade node to recent one (10.0.0), unable to launch appium.
Link to Appium logs
Please fine below appium logs.
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 (/usr/local/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:118:21)
at mapSourcePosition (/usr/local/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:140:21)
at wrapCallSite (/usr/local/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:303:20)
at /usr/local/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:338:26
at Array.map (<anonymous>)
at Function.prepareStackTrace (/usr/local/lib/node_modules/appium/node_modules/asyncbox/node_modules/source-map-support/source-map-support.js:337:24)
at process.emit (/usr/local/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)
Code To Reproduce Issue [ Good To Have ]
-
Upgrade node to latest one (10.0.0)
-
Launch appium
It working fine after downgrading node version.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:20 (3 by maintainers)
Top Results From Across the Web
Upgrading Node.js to latest version - Stack Overflow
Just go to nodejs.org and use the latest installer. · 2. I had to run choco install nodejs. · Make sure to run...
Read more >Appium Beginner Tutorial 3 | How to install appium on Windows
FREE Courses - https://automationstepbystep.com/Today we will learn:1. How to install appium with node.js2. How to install appium with with ...
Read more >Unable to start application on this device: an unknown server ...
I'm not using NPM itself, since the install route for npm install -g appium@1.8.1 doesn't work on that or any other version of...
Read more >Running Appium from Source
Appium is written in JavaScript, and run with the Node.js engine. ... At this point, you will be able to start the Appium...
Read more >Release Notes - Ranorex
Ranorex 10.5.1 Release (December 6, 2022). Bugs. Ranorex now upgrades successfully to 10.1.4. Ranorex Remote Agent no longer uses the Runtime Floating ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes. As it stands, this WILL NOT WORK. The latest Appium was released before Node 10 was released. We are working on getting it working.
@PaulysGitHub , Do this in order to restore old node version. Even I faced the same issue, downgrade node version by
Uninstall node
brew uninstall node
Install node lower version of node
brew install node@8
Do force link to node 8
brew link --overwrite node@8 --force
It will work.
Other than you can nvm to restore old version, and ensure that you need to reinstall appium.