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

make the docs advise using yarn instead of npm? #2

Open
andrewljohnson opened this issue May 27, 2019 · 1 comment
Open

make the docs advise using yarn instead of npm? #2

andrewljohnson opened this issue May 27, 2019 · 1 comment

Comments

@andrewljohnson
Copy link
Contributor

I ran into an error trying to run the site locally using npm (on Mac Mojave).

error There was a problem loading the local develop command. Gatsby may not be installed in your site's "node_modules" directory. Perhaps you need to run "npm install"? You might need to delete your "package-lock.json" as well.

The easiest advice on the internet to avoid the issue is to use yarn. Is it desirable for me to submit a PR changing the readme to use yarn?

@lacker
Copy link
Contributor

lacker commented May 28, 2019

It would be okay to suggest both possibilities in the readme. I don't want to only suggest yarn, without more understanding of what exactly is going wrong here. There isn't too much weird going on here, it's a pretty normal Gatsby static site.

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

2 participants