Greetings.
When installing oxygen-cli via npm, installation finishes with the following errors.
CXX(target) Release/obj.target/odbc_bindings/src/odbc.o
In file included from …/src/odbc.cpp:25:
…/src/odbc.h:30:10: fatal error: ‘sql.h’ file not found
#include <sql.h>
^~~~~~~
1 error generated.
make: *** [Release/obj.target/odbc_bindings/src/odbc.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “build”
gyp ERR! cwd /usr/local/lib/node_modules/oxygen-cli/node_modules/odbc
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
In addition, installing the latest version, 0.48.x, will fail tests due to el.waitForDisplayed not being recognized. My tests run fine with 0.47.6.
info: [oxygen] TypeError: el.waitForDisplayed is not a function
at module.exports.getElement (/usr/local/lib/node_modules/oxygen-cli/ox_modules/utils.js:59:20)
at module.exports (/usr/local/lib/node_modules/oxygen-cli/ox_modules/module-web/commands/waitForVisible.js:22:18)
at Object.wrapper.(anonymous function) [as waitForVisible] (/usr/local/lib/node_modules/oxygen-cli/lib/script-boilerplate.js:453:45)