Skip to content

Commit

Permalink
Build Tooling: Check Latest NPM: Advise additional npm install (#21521)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Apr 9, 2020
1 parent 512e390 commit f56e34d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/check-latest-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ Promise.all( [ getLatestNPMVersion(), getLocalNPMVersion() ] )
It is required that you have the latest version of NPM installed in order to commit a change to the package-lock.json file.
Run ${ yellow( 'npm install --global npm@latest' ) }, then try again.`
Run ${ yellow(
'npm install --global npm@latest'
) } to install the latest version of NPM. Before retrying your commit, run ${ yellow(
'npm install'
) } once more to ensure the package-lock.json contents are correct. If there are any changes to the file, they should be included in your commit.`
);
}
} )
Expand Down

0 comments on commit f56e34d

Please sign in to comment.