解决链接: https://stackoverflow.com/questions/68260784/npm-warn-old-lockfile-the-package-lock-json-file-was-created-with-an-old-version 修改版本: npm -g install npm@7.19.1