Home > Mobile >  Centos8 appium installation error errno ENOENT [email protected] install: ` node insta
Centos8 appium installation error errno ENOENT [email protected] install: ` node insta

Time:05-15

Nodejs install
Yum install GCC - c + + openssl devel -
Wget https://nodejs.org/dist/v14.17.0/node-v14.17.0-linux-x64.tar.xz
The tar XVF - node - v14.17.0 - Linux - x64. Tar. Xz
Vi/etc/profile
# additional environment variables
# nodejs PATH
Export NODE_HOME=/home/selenium/node - v14.17.0 - Linux - x64
The export PATH=$NODE_HOME/bin: $PATH
The source/etc/profile
I now is the latest version of the node

NPM install - g appium
An error
Sh: node: command not found
npm ERR! Code ELIFECYCLE
npm ERR! The syscall spawn
npm ERR! The file sh
npm ERR! Errno ENOENT
npm ERR! [email protected] install: ` node install - NPM. Js `
npm ERR! Spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] the install script.
npm ERR! This is probably not a problem with NPM. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!/root/. NPM/_logs/2021-05-14 T05_06_33_166Z - debug. The log

CodePudding user response:

NVM install node
After the installation node, it can be successfully installed appium
  • Related