Skip to content

Ocean Beach theme is missing a dependency #249

@garrettjstevens

Description

@garrettjstevens

Ocean Beach theme uses compass-vertical-rhythm:

import verticalRhythm from "compass-vertical-rhythm"

But it's not in the dependencies:

"dependencies": {
"gray-percentage": "^2.0.0",
"typography-breakpoint-constants": "^0.16.19"
},

This causes gatsby develop to fail for me (I'm using Yarn v2):

A package is trying to access another package without the second one being listed as a dependency of the first one

Required package: compass-vertical-rhythm (via "compass-vertical-rhythm")
Required by: typography-theme-ocean-beach@npm:0.16.19 (via /path/to/.yarn/cache/typography-theme-ocean-beach-npm-0.16.19-d60d922395-2.zip/node_modules/typography-theme-ocean-beach/dist/index.js)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions