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

bash: gatsby: command not found #23289

Closed
theboyonline opened this issue Apr 20, 2020 · 5 comments
Closed

bash: gatsby: command not found #23289

theboyonline opened this issue Apr 20, 2020 · 5 comments
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@theboyonline
Copy link

theboyonline commented Apr 20, 2020

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 ~

$  npm install -g gatsby-cli

npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
C:\Users\ACER\gatsby -> C:\Users\ACER\node_modules\gatsby-cli\lib\index.js

> [email protected] postinstall C:\Users\ACER\node_modules\gatsby-cli
> node scripts/postinstall.js

Success!

Welcome to the Gatsby CLI! Please visit https://www.gatsbyjs.org/docs/gatsby-cli/ for more information.

Usage: gatsby <command> [options]

Commands:
  gatsby develop                   Start development server. Watches files, rebuilds, and hot reloads if something changes
  gatsby build                     Build a Gatsby project.
  gatsby serve                     Serve previously built Gatsby site.
  gatsby info                      Get environment information for debugging and issue reporting
  gatsby clean                     Wipe the local gatsby environment including built assets and cache
  gatsby repl                      Get a node repl with context of Gatsby environment, see (https://www.gatsbyjs.org/docs/gatsby-repl/)
  gatsby recipes [recipe]          [EXPERIMENTAL] Run a recipe
  gatsby new [rootPath] [starter]  Create new Gatsby project.
  gatsby plugin                    Useful commands relating to Gatsby plugins
  gatsby telemetry                 Enable or disable Gatsby anonymous analytics collection.

Options:
  --verbose                Turn on verbose output  [boolean] [default: false]
  --no-color, --no-colors  Turn off the color in output  [boolean] [default: false]
  --json                   Turn on the JSON logger  [boolean] [default: false]
  -h, --help               Show help  [boolean]
  -v, --version            Show the version of the Gatsby CLI and the Gatsby package in the current project  [boolean]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\gatsby-cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of webpack@>=2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of gatsby@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\abbrev' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\ansi-regex' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\aproba' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\balanced-match' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\chownr' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\code-point-at' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\concat-map' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\console-control-strings' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\core-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\core-util-is' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\deep-extend' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\delegates' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\detect-libc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\detect-libc' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.detect-libc.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\fs.realpath' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\has-unicode' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\inherits' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\ini' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\isarray' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\minimist' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\ms' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\npm-normalize-package-bin):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\npm-normalize-package-bin' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.npm-normalize-package-bin.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\number-is-nan' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\object-assign' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\os-homedir' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\os-tmpdir' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\path-is-absolute' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\process-nextick-args' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\safe-buffer' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\safer-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\safer-buffer' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.safer-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\sax):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\sax' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.sax.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\semver' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\set-blocking' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\signal-exit' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\strip-json-comments' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\util-deprecate' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\wrappy' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.wrappy.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\gatsby-cli\node_modules\fsevents\node_modules\yallist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\yallist' -> 'C:\Users\ACER\node_modules\gatsby-cli\node_modules\fsevents\node_modules\.yallist.DELETE'

+ [email protected]
added 17 packages from 12 contributors and updated 1 package in 24.269s

Ran


RAN

ACER@Acer-SuperMars MINGW64 ~
$ gatsby develop
bash: gatsby: command not found

Expected result

Run gatsby

Environment

Run gatsby info --clipboard in your project directory and paste the output here.

ACER@Acer-SuperMars MINGW64 ~
$ gatsby info --clipboard
bash: gatsby: command not found

I run windows 10 with git bash

@theboyonline theboyonline added the type: bug An issue or pull request relating to a bug in Gatsby label Apr 20, 2020
@LekoArts
Copy link
Contributor

Thank you for opening this!

npm list -g --depth=0 doesn't show gatsby-cli in the list so you indeed didn't install it correctly. You could follow our docs: https://www.gatsbyjs.org/docs/gatsby-on-windows/ & https://www.gatsbyjs.org/tutorial/part-zero/#install-nodejs-for-your-appropriate-operating-system

Moreover, these issues might also give you ideas (e.g. your PATH variable might be wrong):

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!

@theboyonline
Copy link
Author

theboyonline commented Apr 20, 2020

Hi there, After installing, i'm having the same problem.
Now it shows gatsby-cli

Tried the linked issue solution tips also, didn't work for me.

ACER@Acer-SuperMars MINGW64 ~
$ npm -g ls --depth=0
C:\Program Files\Git\usr\local
+-- [email protected]
`-- [email protected] -> D:\newwebite\newsite

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'
npm ERR! peer dep missing: eslint@>= 4.12.1, required by [email protected]
npm ERR! peer dep missing: webpack@>=2, required by [email protected]
npm ERR! peer dep missing: webpack@^3.0.0 || ^4.0.0, required by [email protected]
npm ERR! peer dep missing: gatsby@^2.0.0, required by [email protected]
npm ERR! peer dep missing: acorn@^6.0.0, required by [email protected]
npm ERR! peer dep missing: [email protected] - 3, required by [email protected]
npm ERR! peer dep missing: popper.js@^1.16.0, required by [email protected]
npm ERR! peer dep missing: typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta, required by [email protected]
npm ERR! peer dep missing: typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta, required by [email protected]
npm ERR! peer dep missing: acorn@^6.0.0, required by [email protected]
npm ERR! peer dep missing: @jimp/plugin-blur@>=0.3.5, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/plugin-color@>=0.8.0, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/plugin-resize@>=0.3.5, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/plugin-resize@>=0.8.0, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/custom@>=0.3.5, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/custom@>=0.3.5, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/custom@>=0.3.5, required by @jimp/[email protected]
npm ERR! peer dep missing: @jimp/custom@>=0.3.5, required by @jimp/[email protected]

@theboyonline
Copy link
Author

@LekoArts Can you have a look ?

@theboyonline
Copy link
Author

Hi there, I was able to run with npm run develop. But normal gatsby develop is not working.
I need to add npm in every gatsby command. Like npm gatsby -v , Normal gatsby -v not working which used to work.

@LekoArts
Copy link
Contributor

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 npx gatsby [your-command] or use npm scripts like npm run develop inside a gatsby project. Short explanation of npx: https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

2 participants