-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
bash: gatsby: command not found #23289
Comments
Thank you for opening this!
Moreover, these issues might also give you ideas (e.g. your
We're marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. This is a problem with npm and your local environment as it works for a lot of other people. I know, it might be frustrating, so please try the solutions above! |
Hi there, After installing, i'm having the same problem. Tried the linked issue solution tips also, didn't work for me. ACER@Acer-SuperMars MINGW64 ~ npm ERR! error in C:\Program Files\Git\usr\local\node_modules\gatsby-cli\node_modules\fsevents: ENOENT: no such file or directory, open 'C:\Program Files\Git\usr\local\node_modules\gatsby-cli\node_modules\fsevents\package.json' |
@LekoArts Can you have a look ? |
Hi there, I was able to run with npm run develop. But normal gatsby develop is not working. |
Sorry, but I can't help you with that much further. This is an issue with your local environment, maybe your Node isn't correctly set up. Maybe follow guides such as https://blog.theodo.com/2017/01/use-git-ssh-and-npm-on-windows-with-git-bash/ Alternatively you can use |
Description
I'm trying to run gatsby, returns me "bash: gatsby: command not found"
Tried reinstall of node , npm , gatsby-cli also. It was working good a day ago, Suddenly came into this problem.
I tried changing permission to allow in node folder as well.
Tried almost all internet solutions.
Please help
Steps to reproduce
$ npm install -g gatsby-cli
$ npm --version
6.14.4
ACER@Acer-SuperMars MINGW64 ~
$ node --version
v13.13.0
cd /d to folder
gatsby develop
or
gatsby new "name"
Windows 10 with Git Bash
RAN
ACER@Acer-SuperMars MINGW64 ~
Ran
RAN
Expected result
Run gatsby
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.I run windows 10 with git bash
The text was updated successfully, but these errors were encountered: