Skip to content

Patternlab Create: Mistake in README.md #1325

Closed
@lhridley

Description

@lhridley

I am using Pattern Lab Node v5.4.3 on Linux, with Node v14.15.4, using a Twig (PHP) Edition.

Expected Behavior

Executing commands documented in README.md for create-pattern-lab would result in a successful installation

Actual Behavior

Second command pattern-lab init results in error message pattern-lab: command not found

Steps to Reproduce

(1) execute npm i -g @pattern-lab/cli //completes successfully
(2) execute pattern-lab init // errors out with pattern-lab: command not found

Resolution

Update https://github.com/pattern-lab/patternlab-node/blob/dev/packages/create/README.md to reflect the correct second command, which should be patternlab init instead, as this is the correct name of the executable installed with the first command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions