Skip to content
This repository was archived by the owner on Jun 15, 2024. It is now read-only.
This repository was archived by the owner on Jun 15, 2024. It is now read-only.

npm warnings for --only=prod #149

Open
@finnwiz

Description

@finnwiz

When deploying with Node v18.16.1 and npm v.9.5.1, I'm getting:

npm WARN config production Use `--omit=dev` instead.
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.

I think we could change the npm command from:
npm install --production --only=prod
to
npm install --production --omit=dev

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