You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I/you first install Gatsby it asks you what package manager you wish to use, however there's no way to change this afterwards.
It would be nice to have an option to do this? Say from CLI gatsby pkg or whatever...
I chose yarn because of muscle memory but I've been reading how npm has improved greatly in the last year since my last foray into frontend dev it would be nice to go and give it another try. The fact that most (if not all) your docs reference npm and not yarn is causing my itch to switch.
Anyhoo, I tried reinstalling Gatsby over the top but it's still using my original setting (yarn).
The text was updated successfully, but these errors were encountered:
The Gatsby CLI uses configstore to make a config file that stores these options. On Mac / Linux / WSL, it is available at ~/.config/gatsby/config.json. Try deleting that file and run the CLI again. Not sure exactly where it is on windows machines though.
Happy to close this issue unless anyone sees merit in discussing this further with regards to adding this feature to CLI or perhaps creating/adding this tip to the documentation. 👍
When I/you first install Gatsby it asks you what package manager you wish to use, however there's no way to change this afterwards.
It would be nice to have an option to do this? Say from CLI
gatsby pkg
or whatever...I chose yarn because of muscle memory but I've been reading how npm has improved greatly in the last year since my last foray into frontend dev it would be nice to go and give it another try. The fact that most (if not all) your docs reference npm and not yarn is causing my itch to switch.
Anyhoo, I tried reinstalling Gatsby over the top but it's still using my original setting (yarn).
The text was updated successfully, but these errors were encountered: