Skip to content

warn when netlify.toml uses yarn but repo only has package-lock.json #328

@swyxio

Description

@swyxio

- Do you want to request a feature or report a bug?
feature

- What is the current behavior?
if the repo only has package-lock.json, we do not install yarn, however the user's netlify.toml may use yarn. this will cause a bug we can catch earlier before a commit or a deploy.

this is a common user error. i do it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions