wdio-mocha-framework
wdio-mocha-framework copied to clipboard
error when trying to install with node version 11.5.0
C:\Users\smarigowda\SAN\gitLab\wdioPOC (master -> origin) ([email protected])
λ yarn add wdio-mocha-framework
yarn add v1.12.3
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error C:\Users\smarigowda\SAN\gitLab\wdioPOC\node_modules\fibers: Command failed.
Exit code: 1
Command: node build.js || nodejs build.js
Arguments:
Directory: C:\Users\smarigowda\SAN\gitLab\wdioPOC\node_modules\fibers
Output:
C:\Users\smarigowda\SAN\gitLab\wdioPOC\node_modules\fibers>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild --release ) else (node "" rebuild --release )
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\smarigowda\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "sudo apt-get install g++ build-essential
RHEL users please run: yum install gcc-c++
and yum groupinstall 'Development Tools'
Alpine users please run: sudo apk add python make g++
'nodejs' is not recognized as an internal or external command,
operable program or batch file.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
This could be because of fibers
please use node.js v10 for now