Skip to content

Yarn or NPM? #41

Open
Open
@wilbertcaba

Description

@wilbertcaba

I had some good days without working on a project using wpkit. Looked into the package.json file and some of the scripts are written using npm:

...
"test": "npm run lint",
"lint": "npm run lint:js && npm run lint:css",
...

I started installing packages running npm install package-name and ran into conflicts so I looked into the file browser and found a yarn.lock file. I used yarn add package-name to install packages successfully.

Could that be conflicting having npm commands while using yarn? Maybe somewhat misleading?

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