From 51361ae85121c88e793f584e552189e2cd7fe515 Mon Sep 17 00:00:00 2001 From: Ryan Gatchalian Date: Thu, 5 Aug 2021 17:33:42 +0800 Subject: [PATCH] docs: Require npm version for set-script command (#11309) --- docs/install.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/install.md b/docs/install.md index f54dfce80..567757673 100644 --- a/docs/install.md +++ b/docs/install.md @@ -120,6 +120,8 @@ For example, you can do the following to have Prettier run before each commit: +> Note: npm **set-script** command requires at least **npm v7.x**. See https://docs.npmjs.com/cli/v7/commands/npm-set-script. + 2. Add the following to your `package.json`: ```json