zinserjan / wdio-visual-regression-service

Visual regression service for WebdriverIO.
MIT License
102 stars 39 forks source link

webdriverio installed globally. #63

Closed betovidal closed 6 years ago

betovidal commented 6 years ago

Excuse me if this is a silly question, but on Windows 10, I installed webdriverio globally (npm -g install webdriverio) so I can run it >wdio from the console anywhere, but when I installed "wdio-visual-regression-service" it says there's an unmet dependency (it needs webdriverio but none was found). Do I have to keep two webdriverio installations in order for this service to work (one local and one global). Is there any way to just keep de global webdriverio and let wdio-visual-regression-service know it exists?

tnypxl commented 6 years ago

@betovidal re: Do I have to keep two webdriverio installations — Yes, unfortunately. I'd recommend only installing packages in your specific project's root folder or installing everything globally, but never a mix of both. I know global installs are quick and convenient. But its not recommended.

betovidal commented 6 years ago

Thanks for the recommendation @tnypxl, I'll keep this in mind. I can see the disadvantages of maintaining global installations.

As this issue was merely informational I'll close it.