garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.69k stars 604 forks source link

backstop commands not working on windows #1397

Closed Rami9237 closed 2 years ago

Rami9237 commented 2 years ago

I'm new to backstopJS and I'm trying to run it on windows.I already installed it globally using npm install -g backstopjs and when I do the npm backstop -version command it works and I get the version installed. Problem is when I try to use the backstop init command I get this error : backstop : The term 'backstop' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. I tried reinstalling nodejs and upgrading npm as mentionned in a previous this issue #1070 but it didn't work. Did it happen to someone else or is it only me ? Any idea how I can solve this ?

Rami9237 commented 2 years ago

Issue fixed, problem was that that the commands didn t work on vscode's powershell for some reason