Hi Everyone
I’m trying to install appium driver from a tgz file which I generated by implementing my own appium driver and building it with node. Currently I can’t host it to Public NPM registry or anywhere else. I tried to use below commands to install directly got the below errors. If I extract that tgz file and then use --source local
it works but I don’t want to extract it if I can manage to install it without extracting.
$ appium driver install --source local 0.24.0.tgz
✖ Installing '0.24.0.tgz' using NPM install spec '0.24.0.tgz'
Error: ✖ Encountered an error when installing package: Cannot find module '0.24.0.tgz/package.json'
Require stack:
- /Users/username/.appium/noop.js
$ appium driver install --source npm 0.24.0.tgz
✖ Installing '0.24.0.tgz' using NPM install spec '0.24.0.tgz'
Error: ✖ Encountered an error when installing package: Cannot find module '0.24.0.tgz/package.json'
Require stack:
- /Users/username/.appium/noop.js
Any help suggestion would really appreciated. Thanks in advance.