Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Clear node_modules and yarn.lock to fix some problems #711

Open
ehowey opened this issue Jun 22, 2020 · 0 comments
Open

Clear node_modules and yarn.lock to fix some problems #711

ehowey opened this issue Jun 22, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ehowey
Copy link
Owner

ehowey commented Jun 22, 2020

Describe the bug
Because of the number of dependencies managed by gatsby-theme-catalyst there are occasionally conflicts in yarn.lock or in node_modules that can be resolved by removing both of these folders/files and running yarn install.

This is a good first step if you are encountering an error with missing packages or version mismatch. Most often I have seen this as a visual error with Theme-UI and/or an error with different conflicting versions of Gatsby installed.

It is worth trying this before posting a bug report if you think it may solve your problem.

rm -rf node_modules yarn.lock
yarn install
@ehowey ehowey added the bug Something isn't working label Jun 22, 2020
@ehowey ehowey pinned this issue Jun 22, 2020
@ehowey ehowey changed the title Clearing node_modules and yarn.lock to fix some problems Clear node_modules and yarn.lock to fix some problems Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant