Thanks to visit codestin.com
Credit goes to github.com

Skip to content

False warning regarding out of sync dependencies #14959

@jmooring

Description

@jmooring
git clone --single-branch -b hugo-forum-topic-57211 https://github.com/jmooring/hugo-testing hugo-forum-topic-57211
cd hugo-forum-topic-57211
hugo mod npm pack
npm install
hugo

Hugo emits this warning:

WARN npm dependencies are out of sync, please run "hugo mod npm pack" (you may also want to run "npm install" after that)

Now pack again:

hugo mod npm pack
hugo

No warning.

Tested with v0.162.0, but I suspect this has been there for a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions