Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.
This repository was 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

Description

@ehowey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions