Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'backstop' is not recognised as an internal or external command, operable program or batch file #1070

Closed
ghost opened this issue Jul 15, 2019 · 7 comments

Comments

@ghost
Copy link

ghost commented Jul 15, 2019

While running the backstop test command- started getting - 'backstop' is not recognised as an internal or external command, operable program or batch file

@garris
Copy link
Owner

garris commented Jul 15, 2019

Sounds like you need to install like this... npm install backstopjs --global

@ghost
Copy link
Author

ghost commented Jul 15, 2019 via email

@garris garris closed this as completed Jul 15, 2019
@ayeshahartley
Copy link

My colleagues and I are experiencing the same issue. Error "backstop: command not found". I have installed it globally as well and no change. Using Nodejs v12.19.0

@herrlitz
Copy link

herrlitz commented Dec 3, 2020

@ayeshahartley Had the same problem, not sure exactly why it started working unfortunatly but might have been changing permission and re-install: #545

My directory was /usr/local/lib/node_modules/ instead of /usr/lib/node_modules/, Nodejs v15.3.0, using (oh my) zsh instead of bash.

@KonstanciaM
Copy link

im seeing the same issue: npm install backstopjs --global
ive tried installing globally and no help, can someone pls help resolving this issue?

@garris
Copy link
Owner

garris commented Dec 8, 2020

Most people are finding upgrading NPM or sorting out permissions is resolving the issue. If it would help -- you can try the sanity check which will install and run a test in one command -- this is good to try to make sure your env is compatible... https://github.com/garris/BackstopJS#sanity-test-does-backstop-work-in-my-environment

@KonstanciaM
Copy link

yeah everything was working few weeks ago, al of a sudden it didnt recognize it, I install puppeteer as it was missing.
I ran the sanity and it generated a report, not sure what to do next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants